Problems and testing
Windows memory compression: what it is and should you turn it off?
Memory compression is a Windows feature that squeezes data your programs aren't actively using and keeps it in RAM, instead of writing it out to the page file on your SSD. It has been on by default since Windows 10, and you should leave it on. Turning it off doesn't free up RAM, and it makes Windows lean on your SSD more.
How does memory compression work?
Microsoft added it in 2015, in a Windows 10 preview build. When RAM starts to fill up, Windows has to make room. The old way was to write the least-used memory pages to the page file on disk. With compression, Windows first compresses those pages and keeps them in a reserved area of RAM that Microsoft calls the compression store.
When a program needs that data again, Windows decompresses it. That costs a little processor time, but it's much faster than reading the data back from an SSD, and far faster than from a hard drive. Microsoft said this lets Windows keep more apps in physical memory and use less memory per process.
Compression only kicks in under memory pressure. If your PC has far more RAM than you use, very little gets compressed, and the feature barely does anything.
Where do I see it in Windows?
Open Task Manager, go to Performance, then Memory. Next to "In use" you'll see a second figure in brackets, labelled compressed. That's how much RAM the compression store takes up, and it's already counted in "In use", not on top of it.
Hover over the memory composition bar and Windows estimates how much data that compressed memory holds. In TweakTown's test on a 16GB laptop, 1.2GB of compressed memory held about 3.3GB of data, saving roughly 2GB. That ratio will vary with what's in memory.
The work is done by a process called Memory Compression. When Microsoft first introduced the feature, the store lived inside the System process, which is why System suddenly looked bigger in Task Manager. On current Windows, TweakTown notes that the Processes tab doesn't list Memory Compression, but Resource Monitor does.
Does it slow your PC down?
Not in any way you'll notice. TweakTown ran the same 20-minute workload on its laptop with compression on and off, with memory use peaking at about 18GB committed on a 16GB machine. Average processor use was 7.2% with compression on and 7.8% with it off, so the extra compression work didn't cost anything measurable.
The difference showed up on the SSD. With compression off, Windows wrote about 3.1GB to the page file during the test. With it on, it wrote about 0.09GB, roughly 35 times less. Page file use rose from about 5% to 37% with compression off.
That's one laptop and one workload, as the tester points out, so treat the exact numbers as an example, not a rule. The direction matches how the feature is meant to work, though.
Will turning it off free up RAM?
No. This is the most common reason people disable it: they see Memory Compression using a gigabyte or more and assume that memory is being wasted. It isn't. That gigabyte holds data that would otherwise take up several gigabytes, or be pushed to the SSD. In TweakTown's test, turning compression off "didn't free up any RAM", it just moved more data to the page file.
A large compressed figure isn't a problem in itself. It's a sign your PC is short of RAM for what you're doing.
When does it make sense to turn it off?
Rarely, and mostly to troubleshoot:
- The Memory Compression process is stuck at high processor or disk use for long stretches. Turning compression off for a while tells you whether it's really the cause, or just reacting to something else filling your RAM.
- Software you use says to. Some database and caching tools recommend turning it off in their documentation. Follow the vendor's advice there.
- You have far more RAM than you use. You can turn it off, but nothing gets compressed anyway, so you gain nothing.
It won't raise your frame rate, and it won't fix stuttering. If games stutter because memory is full, the fix is more RAM or fewer background apps.
How do I check it and turn it on or off?
You need PowerShell or Terminal running as administrator. Right-click Start and choose Terminal (Admin).
- Check it: type
Get-MMAgentand press Enter. The MemoryCompression line says True when compression is on, which is the default. - Turn it off: type
Disable-MMAgent -mcand press Enter, then restart. According to TweakTown, the change doesn't fully apply until you do. - Turn it back on: type
Enable-MMAgent -mcand press Enter, then restart.
Microsoft documents -mc as the short form of the -MemoryCompression option for both commands. Run Get-MMAgent again after restarting to confirm the change.
What should I do if compression is always busy?
Treat it as a warning light. If the compressed figure is large and the "Committed" numbers in Task Manager are close together, your PC is running out of memory. Our guide to the Windows page file explains those numbers, and our guide to finding what's using your RAM helps you track down a leak.
If you keep seeing a "low on memory" warning, see our guide to fixing the Windows low memory warning. And if your PC simply has too little RAM for what you run, compression is stretching it as far as it can. Our guide on whether 8GB is enough in 2026 covers what Windows 11 does on smaller amounts of memory.
The short version
- Memory compression keeps idle data in RAM in compressed form instead of writing it to your SSD.
- It's on by default, costs almost no processor time, and cuts page file writes.
- Turning it off doesn't free RAM; it just pushes more data to the SSD.
- Only disable it to troubleshoot a stuck Memory Compression process, or when your software's vendor says to.
- A big compressed figure means you're short on RAM, so check usage and consider an upgrade.