Fresh Notch
← Blog

· 3 min read · Ahmed Sultan

My Mac’s memory pressure is yellow. What does that mean?

CursorMon 21:30Memory, compressed10.7 GBKept in6.0 GBMemory pressure yellowmacOS is compressing memory to keep up.Memory pressure● WarningSwap used0.7 GBRunning4 daysRestart…Snooze

In short

Yellow memory pressure means macOS is compressing memory to make room. When you can ignore it, when to quit an app, and when a restart is worth it.

On this page

The Memory Pressure graph sits at the bottom of Activity Monitor’s Memory tab. Most of the time it’s a flat green band. When it turns yellow, macOS has started working to find room for your apps. That’s worth knowing, but it isn’t a warning light yet.

What yellow means

When apps ask for more memory than is left, macOS does two things before it touches the disk. It asks apps to let go of what they can, like caches they can rebuild later. Then it compresses memory that hasn’t been used for a while, so the same data takes less room.

Yellow means macOS is busy doing that. The Mac still has memory to work with, but it’s spending some processor time squeezing and unsqueezing it, and there’s less room left before it has to write to swap. Red means the room is running out, and the Mac is leaning on swap.

Apple’s Activity Monitor guide says the graph is worked out from free memory, the swap rate, wired memory and cached files. Its one line on yellow is that your Mac “might eventually need more RAM”. That’s true if it happens every day. Most of the time it’s a busy afternoon.

What yellow looked like on my Mac

This evening my 16 GB MacBook Pro had been up four days, with Cursor and Chrome open. Pressure went yellow, and this is what Activity Monitor’s numbers came to.

Figure 1

What yellow looked like on my Mac

Memory pressure yellowSwap Used 0.7 GBUp 4.1 days

A 16 GB MacBook Pro, up 4.1 days, at 19:30 UTC on 2 November. More than a third of it was holding compressed memory, and swap was under 1 GB. Point at a part to see what it is.

The number to look at is Compressed. macOS was keeping 10.7 GB of memory in 6 GB of space, more than a third of the Mac. Swap was under 1 GB.

That’s why yellow so often shows up with little or no swap, which puzzles a lot of people. Compression comes first. Swap only takes over once compression can’t keep up.

Cursor and Chrome, counting their helper processes, held about 4 GB each. Fresh Notch suggested quitting Cursor.

Why it matters more the longer it lasts

A few minutes of yellow while you export a video or open a huge file is the Mac doing its job. It goes back to green when the work is done.

Hours of yellow is different. Every time you switch to an app whose memory was squeezed, macOS has to unsqueeze it first. And the less room is left, the sooner it starts writing to swap. That’s when you start to feel it: tabs that reload when you go back to them, apps that take a beat to come forward, a spinning cursor on things that were instant in the morning.

What to do about it

Figure 2

What to do when it's yellow

The longer yellow lasts, the more it's worth doing something. Point at a row for the reason.

In practice:

  1. Wait a few minutes. If you just started something heavy, let it finish. Fresh Notch doesn’t count yellow until it has lasted 10 minutes, for the same reason.
  2. Find the app. In the Memory tab, sort by the Memory column. Browsers and editors built on Electron are the usual names at the top, and their Helper processes count too, so add them up.
  3. Close before you quit. If it’s a browser, close the tabs you’re not using and watch its number. If it drops, that was the cause. If it keeps climbing with the tabs gone, quit it.
  4. Restart if it’s been a while. If the Mac has been up a week or more and stays yellow with no obvious app at the top, a restart clears out what built up. There’s more on that in When does restarting your Mac actually help?
  5. Red is different. If the graph turns red and stays there, the Mac is out of room. Save your work and restart, or quit the biggest app now.

If it’s yellow every day

If pressure goes yellow most afternoons with the apps you always use, nothing is broken. That’s how much memory your work needs on this Mac. Fewer tabs and apps open in the background help. So does more memory, next time you buy a Mac.

And if yellow comes with a few gigabytes of swap, that’s the next stage. I wrote about what swap means in My Mac’s swap is high. Is that bad?

I made Fresh Notch to keep an eye on this graph for me. It stays quiet through short spells of yellow, names the app when one is behind it, and suggests a restart only once the Mac has been up long enough for one to help.