With memory compression on Windows 11, your device will choke even with a limited amount of RAM. In this article, we will show you how to enable or disable memory compression on Windows 11.
What is memory compression? Memory compression is a feature that compresses data before writing it to RAM, thus providing more storage space on it.
Of course, more data stored in physical memory translates into faster system operation and better overall performance. This feature is enabled by default in Windows 11, but if it's somehow not active, you can disable or re-enable it.
How to enable memory compression in Windows 11?
- Click the search bar, type powershell, and click Run as administrator from the results.
- Type or paste the following command to see if memory compression is enabled, then press to run it: Enter
<strong>get-mmagent</strong>
- If you see the value True to the right of Memory Compression, it means it is activated.
- If the value is False, type the following command to enable memory compression on Windows 11 and press: Enter
<strong>enable-mmagent - mc</strong>
- #Restart your computer for the changes to take effect.
- To check if memory compression is working properly, right-click the Start button and select Task Manager from the menu.
Now, click on "Memory" in the "- Performance" tab and at the bottom you will see "In Use (Compressed)" memory.
If you hover over the memory components above, you will see more details about the - memory compression status on your system.
We recommend using the Get-Mmagent command first because the current status of memory management may already be True.
Note that you can also use Windows Terminal (Admin) to execute the same command in Windows 11.
How to stop memory compression in Windows 11?
Click the - Search field in Windows 11, type powershell, and then select Run as administrator to launch PowerShell with full permissions.
Type the following command and press Disable memory compression on Windows 11: - Enter
disable-mmagent -mc<strong></strong>
Restart your computer for the changes to take effect. -
The memory compression feature is great because it optimizes physical memory utilization, so we do not recommend disabling it.
You can actually disable the memory management feature, work on your PC, and then turn it back on to see the difference in status.
If your PC is still running slow, it's possible that your PC isn't using all of the available RAM, but the highlighted guide will help you fix this.
Why does memory compression take up so much RAM?
Actually, memory compression does not occupy RAM. The more compressed memory processed, the more data can be written on physical memory.
In other words, high levels of memory compression translate into better memory utilization.
However, high RAM usage means you are running resource-intensive processes and applications that are often accompanied by high CPU usage. Closing some of them will make things normal again.
If system and compressed memory are causing high disk usage, highlighted guides will provide the necessary fixes.
You may also be interested in how to fix Insufficient disk space to complete the operation error.
We hope you managed to enable or disable memory compression on Windows 11 and now, the system is running smoothly.
The above is the detailed content of How to enable or disable memory compression on Windows 11. For more information, please follow other related articles on the PHP Chinese website!