0% found this document useful (0 votes)
22 views5 pages

Disable Memory Compression in Windows

Uploaded by

fbandreescu
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views5 pages

Disable Memory Compression in Windows

Uploaded by

fbandreescu
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

[Link]

html

How to Enable or Disable Memory Compression in Windows


10 & 11
A newer feature introduced in Windows 10 and continuing with Windows 11 is Memory
Manager or MM. Windows 10 & 11 use Memory Manager by default, but you can enable or
disable it.

Memory Manager (MM) was designed to compress infrequently-accessed memory pages,


which reduces the number of reads and writes to the disk (pagefile) and therefore improves
responsiveness. Compressing memory reduces the amount of memory used per process,
allowing the operating system to maintain more physical memory applications before
enacting traditional paging.

Memory Manager is on by default, but some people claim to reduce lag if they have a high-
end CPU. Before proceeding, remember that it is recommended that you leave Memory
Manager on.

Video tutorial:

How to See if Memory Compression is Enabled or Disabled in Windows 10 & 11

Press the Windows Key + X and click on Task Manager.

Click on the Performance tab.

Look for In use to see if memory compression is on or off.


All of the following steps require you to next open Windows Terminal as Administrator.

Type in Get-MMAgent and press Enter.

Look for MemoryCompression.


How to Disable Memory Compression in Windows 10 & 11

Type in Disable-MMAgent -mc and press Enter. Wait a few seconds to complete.
Reboot your computer to apply the change.

How to Enable Memory Compression in Windows 10 & 11

Type in Enable-MMAgent -mc and press Enter. Wait a few seconds to complete.
Reboot your computer to apply the change.

Similar:
 How to Find Your RAM Speed in Windows 10 & 11
 How to Use the Windows Memory Diagnostic Tool in Windows
 How to Check Your Memory (RAM) Speed, Available Slots and More
 How to Manage Virtual Memory (Pagefile) in Windows 10 & 11
 The Differences Between 32-bit and 64-bit Applications

Common questions

Powered by AI

The Memory Manager (MM) feature in Windows 10 and 11 is designed to compress infrequently-accessed memory pages. This compression reduces the number of reads and writes to the disk, specifically the pagefile, thereby improving system responsiveness. By reducing the memory used per process, the operating system can maintain more physical memory applications before resorting to traditional paging, thus improving overall performance .

Disabling memory compression might reduce system lag in scenarios where a system has a high-end CPU that is adept at handling memory management tasks without compression. In such cases, the overhead of compressing and decompressing memory might introduce latency, which could be reduced by disabling the feature, assuming the CPU can efficiently manage memory operations without it .

Users should consider their system configuration and performance requirements. While the default recommendation is to keep the Memory Manager enabled for optimal performance and efficient memory use, high-end CPU users might experience reduced lag with it disabled. Users need to assess whether the performance gains from disabling outweigh the loss of the compression benefits .

To open Windows Terminal as Administrator, search for 'Windows Terminal' in the Start menu, right-click on it, and select 'Run as Administrator'. This grants the necessary privileges to manage system features such as memory compression .

To disable memory compression, open Windows Terminal as Administrator, type 'Disable-MMAgent -mc' and press Enter, wait a few seconds, then reboot the computer to apply the change. Low-end systems might benefit from disabling memory compression as it may reduce lag, especially if the user has a high-end CPU that manages memory well without compression .

Memory compression can potentially extend the lifespan of a system's storage disk by reducing the number of read and write operations to the disk. This alleviation occurs because memory compression limits the need to use the disk's pagefile for storing memory pages, thereby decreasing wear and tear on the storage media .

To enable memory compression, one should open Windows Terminal as Administrator, type 'Enable-MMAgent -mc', and press Enter. Wait a few seconds for the process to complete, then reboot the computer to apply the change .

The pagefile acts as a secondary memory source where the operating system stores memory pages that cannot be held in RAM. Memory compression reduces the need to move memory pages to the pagefile by compressing them, which lessens the frequency of reads and writes operations to the disk. This benefits performance by allowing more applications to run in physical memory and reducing disk activity .

Keeping memory compression enabled allows the operating system to handle more applications in physical memory without quickly resorting to paging. This can lead to enhanced system responsiveness and potentially less wear on the disk by reducing the frequency of disk operations associated with paging .

To verify if memory compression is enabled or disabled, open the Task Manager by pressing the Windows Key + X and clicking on Task Manager. Then click on the Performance tab and look for 'In use' to see if memory compression is on or off .

You might also like