What swap is, in one paragraph
Your Mac keeps the apps you're using in RAM — fast memory that forgets everything at power-off. When RAM fills, macOS moves the least-used parts to a file on the drive and reads them back when needed. That file is swap. It's not damage and not a leak — it's the system doing its best with what it has. The catch: a drive is many times slower than RAM, so the deeper the Mac reaches into swap, the slower everything feels. The number to watch alongside it is memory pressure — how hard the system is working to keep up with demand for RAM.
First, read the two numbers that matter
Open Activity Monitor (⌘ Space, type Activity Monitor), go to the Memory tab. Two things to read: Swap Used at the bottom right, and the Memory Pressure graph — green means memory is currently coping, yellow means tight, red means the Mac is out and digging into swap hard. From Terminal, swap alone:
% sysctl vm.swapusagevm.swapusage: total = 5120.00M used = 3452.25M free = 1667.75M (encrypted)Total is the swap space macOS set aside, used is what's in it. Roughly a gigabyte or two on a Mac with plenty of RAM is normal; on an 8 GB Mac under real use it can run to many gigabytes.
The pairing tells you which story you're in: high swap + red or yellow pressure — memory is being squeezed right now, so find the hogs below. High swap + green pressure — the swap is residue from earlier; a restart clears it in one move.
NoahIn the diagnoses Noah has run on real Macs, 14 showed more than half their swap in use — the worst at 11 GB of 12. Every one of them also felt exactly this slow.
A few apps are eating the memory
Pressure is yellow or red now; the Mac got slow as the day went on. Sorting the Memory list by size names names.
Most often it's not “everything”, it's two or three things — a browser carrying heavy tabs, a design or office app holding old documents open, a sync tool. They filled RAM, and everything else got pushed into swap. Sort Activity Monitor's Memory tab by size and the list will point at them.
Fixquit the biggest ones you can spare, and watch Swap Used — it drains on its own over the next minutes as macOS reclaims what it needs. You don't have to force anything or empty anything.
NoahOn one Mac, quitting Safari and cleaning up one stuck web process dropped swap from 10.2 GB to 1.4 GB — and Noah noted the rest would “continue draining naturally over the next few minutes as macOS reclaims pages on its own.”
Weeks without a restart
Pressure is green, but swap sits at gigabytes and the Mac has been on for weeks. It got slow so gradually you stopped noticing.
Every app that has run since the last restart leaves a little behind — memory it asked for and stopped using. Weeks of that, and the machine carries its history around. On two Macs Noah diagnosed, uptime was 17 and 37 days with swap and stalled memory to match — and in both cases the restart was the single biggest speed boost available.
Fixrestart. It clears swap to zero and hands back everything the leaks were holding. If swap climbs straight back to where it was within a day, it wasn't residue — your workload is the next section.
The work genuinely doesn't fit
Swap climbs back within hours of every restart, pressure lives in the yellow, and the list of memory users is all things you actually use.
Sometimes nothing is broken. Heavy creative apps, large photo libraries, code editors, local AI tools — on an 8 GB Mac, that stack is simply bigger than the memory. Swap is the Mac doing its best, and no utility changes the arithmetic.
Fixrun fewer things at once — quit fully (⌘Q) what you're not using rather than leaving it in the Dock — and be honest about the ceiling. If this is your daily workload, more RAM (or a machine with more) is the only real fix.
“Free memory” is not the goal
One read worth unlearning: Activity Monitor shows big amounts of memory marked inactive or cached, and cleaner apps sell you fear about it. Don't buy it. That memory holds files macOS already read, kept for instant reuse — if an app needs the space, it's handed over immediately. On one Mac Noah checked, 12 GB of “inactive” memory was exactly this: normal file cache, not a problem. Empty memory is not faster than used memory.
Fixignore the cleaners and the “free RAM” number. Watch two things only: the Memory Pressure graph, and Swap Used. Green pressure with modest swap means the memory system is healthy, whatever the cleaners say.
The short version
- Activity Monitor > Memory: read Memory Pressure and Swap Used together.
- Yellow or red pressure? Quit the top memory apps; swap drains by itself.
- Green pressure but gigabytes of swap? Restart — it starts at zero.
- Straight back after a restart? The workload doesn't fit — fewer apps open, or more RAM.
- Ignore “free RAM” and cleaner apps — pressure green, swap modest is the goal.