Memory compression: trading CPU for RAM, and when that trade is wrong

MemoryProUndo: YesUpdated View as Markdown

Short answer

Updated

Memory compression is disabled with the PowerShell command Disable-MMAgent -mc. Windows compresses pages in RAM instead of writing them to disk, spending CPU to save memory. Disabling it frees that CPU time, but only makes sense if you have plenty of RAM. On an 8 GB machine it will make things distinctly worse.

In the app
Disable Memory CompressionPRO
Command

Enable-MMAgent -mcDisable-MMAgent -mc

What the switch writes. Your current value may differ.

What it does

Rather than paging cold memory out to disk, Windows compresses it and keeps it in RAM. Reading it back costs CPU but is far faster than a disk round trip.

The compression and decompression work is real CPU time, which is the argument for turning it off when memory is not the constraint.

When it helps, and when it hurts

When it helps

  • Frees CPU cycles on systems with 32 GB or more, where compression is solving a problem you do not have.
  • Can slightly reduce frame-time variance in heavily CPU-bound games.

When it hurts

  • On 8 GB and often on 16 GB, disabling it pushes Windows to page to disk instead, which is far slower and produces exactly the stutter you were trying to remove.
  • The effect is highly dependent on how much memory your games actually use. Measure before assuming.

What it writes

Exactly what the switch changes, read from the app's source. Switching it off is what the app writes when you turn the tweak off again.

With the tweak · POWERSHELL
Disable-MMAgent -mc
  • Disable-MMAgent -mc: Turns off in-memory page compression.
Switching it off · POWERSHELL
Enable-MMAgent -mc

From the app's source (memory_compression.hpp), app 2.0.0, checked .

How to undo it

In the app: Yes

Switching it off sets a standard Windows value, which may not be exactly how you had it.

Run Enable-MMAgent -mc and reboot. Switching it off in Frozen Tweaks runs that command.

Changing several settings at once? The app's Make a restore point button, on every plan, makes a Windows restore point before you start.

Verdict

Only with 32 GB or more. On 16 GB it is a coin flip and on 8 GB it is actively harmful, one of the clearest examples of a tweak whose correctness depends entirely on your hardware.

In the app

Switch
Disable Memory Compression
Category
Memory
Plan
Pro
Undo
Yes

See it in the catalog

More tweak explainers

Written by

Founder of Frozen Tweaks, based in Hamburg, Germany. Publishes settings guides for competitive games on his YouTube channel, Frost LIVE.

In the app

Category
Memory
Plan
Pro
Undo
Yes

See it in the catalog

Frozen Tweaks

Free for Windows 10 and 11

58 tweaks free, each with an undo switch. Never edits game files.

v2.0.0 · 6.4 MB · Windows 10 and 11, 64-bit · free account, no payment details

Or type frozentweaks.com on your PC.

The free Windows app for competitive games.

58 tweaks free, each with an undo switch. Never edits game files.

See all 177 tweaks

v2.0.0 · 6.4 MB · Windows 10 and 11, 64-bit · free account, no payment details

Frozen Tweaks runs on Windows. Send the link to your PC and download it there.

Or type frozentweaks.com on your PC.