Introduced in Windows 10, memory compression is a feature that gives your RAM more breathing room to prevent your computer from lagging. Windows will turn on memory compression by default, and you could disable it if you please.
Memory Compression allows Windows 10 and Windows 11 to make better use of available memory on all systems by reducing physical memory utilization, resulting in fewer pagefile IO operations and a reduced reliance on disk. Furthermore, it improves the speed of writing to and reading from disk when MM determines paging must be enacted. Microsoft expects users to experience improved overall responsiveness and usability on all devices running Windows 10 and Windows 11.
Check current state of compressed memory
Before continuing to enable or disable Memory Compression on your system, you should know its current state.
1. Open the Start Menu and type Task Manager. Then, from the search results, click on the Task Manager box to open it.
2. Next, on the Task Manager window, click on the Performance tab.
3. Then click on the Memory option present on the left sidebar. Then find the In use memory option you will be able to see the current Compressed memory inside the parentheses if enabled.
Another way to check if memory compression is enabled is to use the Terminal application on your Windows machine.
To check the memory compression status using Terminal
1. Open the Start Menu and type Terminal. Then, from the search results, right-click on the Terminal box and select the Run as administrator option from the context menu to open it.
2. Next, on the Terminal window, type the command mentioned below and press Enter on your keyboard to execute it.
Get-MMAgent
3. Then, find the Compress memory option from the results on the Terminal window; if the fields show True then compression is enabled, if it shows False then compression is not enabled.
Now that you have determined the current state of Memory Compression on your system, it's time to enable or disable it.
Use the Terminal app to enable or disable memory compression
The Memory Compression feature can be quickly turned on or off by executing a single command using the Terminal application.
1. Open the Start Menu and type Terminal to search for it. Then, from the search results, right-click on the Terminal box and select the Run as administrator option from the context menu to launch it.
2. If you are here to enable Memory Compression on your system, type the command mentioned below and press Enter on your keyboard to execute the command.
Enable-MMAgent -mc
3. Then, restart your PC from the Start Menu to apply the changes.
If you are here to disable Memory Compression on your system
1. Type the command mentioned below, press Enter on your keyboard to execute the command.
Off-MMAgent -mc
2. Next, restart your PC from the Start Menu to apply the changes.
Video:
Memory Compression should only be disabled when your system is not using more than 60 percent of RAM even during multi-tasking but the CPU usage is close to 100%. Surrounding system
No comments:
Post a Comment