Thrum

What is compressed memory on a Mac?

Last reviewed: 19 November 2026.

Compressed memory is memory that macOS has packed into a smaller space so the RAM it occupied can go to something else. Activity Monitor shows the total as Compressed at the bottom of the Memory tab, and the Compressed Memory column shows how much of each process is compressed. A large figure on its own is normal; it matters only when memory pressure is also yellow or red.

Where does Activity Monitor show compressed memory?

Open Activity Monitor and click the Memory tab. The panel at the bottom lists Compressed next to App Memory and Wired Memory. Apple's Activity Monitor guide defines it as the amount of memory that has been compressed to make more RAM available, and the tooltip in Activity Monitor calls it physical memory used to store a compressed version of data that has not been used recently.

To see it per process, choose View > Columns and turn on Compressed Memory. Activity Monitor's tooltip for the column describes it as memory sent to the VM compression. Apps and browser tabs you have not looked at for a while tend to have more of their data here than the app in front of you.

How does memory compression work?

When free memory runs short, macOS looks for pages (fixed-size blocks of memory) that no app has touched recently. Instead of writing them to disk straight away, it compresses them and keeps the compressed copy in RAM. The original pages become free for other work. When the app touches that data again, macOS decompresses it, which is much faster than reading it back from the startup disk.

Data that compresses well, such as text and empty or repetitive buffers, shrinks a lot. Data that is already compressed, such as video, JPEG images and archives, barely shrinks, so macOS gains little by compressing it.

If compression is not enough, macOS writes some compressed pages to disk. That is swap, explained on what Swap Used means.

How do you see compressed memory in Terminal?

vm_stat
top -l 1 -n 0 | grep PhysMem

vm_stat prints counts of pages, and the first line gives the page size in bytes (16384 on Apple silicon). Two lines describe the compressor: Pages stored in compressor is how much data it holds, measured before compression, and Pages occupied by compressor is how much RAM that data takes up after compression. The gap between them is the memory compression saved. The Compressions and Decompressions lines count how many pages have gone in and out since startup.

top prints a PhysMem line with a compressor figure in megabytes.

Is a lot of compressed memory a problem?

Not by itself. Compressing idle data is how macOS avoids swapping, and a Mac that has been running for days will often hold several gigabytes in the compressor. Read it together with the Memory Pressure graph on the same tab: green pressure with a large Compressed figure means compression is doing its job.

It becomes a sign of trouble when Compressed keeps rising, Swap Used grows with it, and the graph is yellow or red. Then active apps need more memory than the Mac has, and macOS spends CPU time compressing and decompressing the same data. What memory pressure means covers what to do next.

How can Thrum help?

Thrum's Memory tab shows memory pressure, swap, and the eight processes using the most memory. An optional alert tells you when memory pressure turns critical.

Thrum is $4.99 once with a 14-day free trial and no account. It requires macOS 26 Tahoe on Apple silicon or Intel.

Questions

Does compressing memory use CPU?

Yes, a little each time pages are compressed or decompressed. It costs far less time than reading the same data back from disk, which is why macOS compresses before it swaps.

Can I turn memory compression off?

No. There is no setting for it in System Settings. macOS manages the compressor itself.

Why can an idle app show more compressed memory than real memory?

Compressed pages no longer count as resident in the process, so the Real Mem column falls while the Compressed Memory column rises. The data still exists and is decompressed when the app touches it again.

Sources