Guide

How to check memory usage on a Mac

See how much RAM your Mac is using, what memory pressure and swap mean, and what to do when your Mac says it has run out of application memory.

Updated 6 min read

To check RAM usage on a Mac, open Activity Monitor (in Applications → Utilities) and click the Memory tab. The panel at the bottom shows how much memory is installed, how much is in use, and a Memory Pressure graph. That graph is the number that matters: green means your Mac has enough memory for what you are doing, even when Memory Used looks nearly full. Yellow means macOS is working harder to make room, and red means it is short of memory and using the disk instead.

Open Activity Monitor's Memory tab

  1. Open Activity Monitor from Applications → Utilities, or press Command Space and type "Activity Monitor".
  2. Click Memory at the top of the window.
  3. Click the Memory column heading to sort the list, so the apps and processes using the most memory are at the top.

The steps are the same on macOS Sonoma and Sequoia, on Apple silicon and Intel Macs.

What each number means

The panel at the bottom of the Memory tab sums up the whole Mac:

  • Memory Pressure: a graph of how hard macOS is working to keep enough memory free. More on its colors below.
  • Physical Memory: the RAM installed in your Mac.
  • Memory Used: the total in use, made up of the next three figures.
  • App Memory: memory used by apps and their processes.
  • Wired Memory: memory macOS itself needs that can't be compressed or moved to the disk.
  • Compressed: memory macOS has compressed to make room for other things. Compressing is much faster than writing to the disk.
  • Cached Files: memory holding files apps used recently, so they open faster next time. macOS hands it to any app that needs it, so think of it as available.
  • Swap Used: space on the startup disk that macOS is using as extra memory.

Memory pressure colors

  • Green: memory is being used efficiently. This is where you want to be.
  • Yellow: memory is still available, but macOS is compressing memory to keep it that way. Fine for a while; worth a look if it stays yellow.
  • Red: memory has run short and macOS is using the startup disk as memory. Apps may pause, and the spinning wheel appears more often.

Why high memory use is normal

A Mac with 16 GB of RAM showing 14 GB used isn't necessarily in trouble. macOS is designed to put memory to work rather than leave it empty: files you used recently stay in memory as Cached Files, and apps keep data in memory while nothing else needs the room. When an app needs more, macOS reclaims cached memory first, then compresses memory, and only then swaps to the disk. That is why the pressure graph, not the used figure, tells you whether there is a problem.

A little Swap Used is normal too, especially if the Mac hasn't been restarted for a while. What deserves attention is a pattern: memory pressure that turns yellow or red during your normal work, swap that keeps growing, and apps that take a long time to come back when you switch to them.

"Your system has run out of application memory"

If macOS can't find enough memory, even with swap, it shows this message in the Force Quit Applications window, with a list of open apps. Save your work where you can, then select the app you can most easily do without, often a browser with many tabs or an app that has been open for days, and click Force Quit. Force quitting loses unsaved changes in that app, so quit apps normally first when they still respond.

You can open the same window yourself with Option Command Esc, or from Apple menu → Force Quit.

Two things make this message more likely:

  • One app using far more memory than it should. Sort the Memory tab by the Memory column to find it. Quitting and reopening the app often fixes it, and an update may fix it for good.
  • A nearly full startup disk. Swap needs free disk space. See what to do when your disk is almost full.

After seeing the message, a restart is a good idea: it clears swap and gives every app a fresh start.

Check memory in Terminal

A few built-in commands show the same information:

  • top -o mem lists processes sorted by memory, with a PhysMem summary line at the top. Press Q to quit.
  • vm_stat prints memory statistics in pages. The first line gives the page size, so you can multiply to get bytes.
  • memory_pressure prints the system-wide memory free percentage.
  • sysctl vm.swapusage shows how much swap is in use.

How to free up memory, and when not to bother

If memory pressure is green, there is nothing to fix. When it isn't, these help, roughly in order:

  1. Quit apps you aren't using. Closing a window often leaves the app running; choose Quit from its menu or press Command Q.
  2. Close browser tabs. Each tab can use its own memory, and web apps can use a lot.
  3. Restart if it has been weeks. A restart clears swap and processes that have slowly grown.
  4. Trim login items. Apps and helpers that start at login hold memory all day. See how to remove login items.

Running sudo purge in Terminal empties the file cache, so Cached Files drops for a while. It doesn't give apps memory they couldn't already get, and files you open next are read from the disk again, so it is rarely worth doing. If memory pressure is yellow or red every day with the apps you need, the Mac needs more memory than it has. On Apple silicon Macs, memory is part of the chip and can't be added later, so it's worth keeping in mind for your next Mac.

For other ways to make a Mac feel faster, see how to speed up a Mac.

Check memory with Roomy

Roomy's free Mac Health screen has a Memory card that shows memory used out of the total, counted the way Activity Monitor counts Memory Used, split into apps, wired and compressed, with the pressure shown as Normal, Elevated or High. The Busiest apps list can be sorted by memory and shows apps and background processes; Quit asks an app to quit, just like Command Q.

Elevated or high pressure, or 4 GB or more of swap, appears as a recommendation in the health score. The Free Up Memory button runs the same purge command described above, and macOS asks for your password. As with the command, the effect is temporary and it is rarely needed; quitting the app at the top of the list does more. To keep an eye on memory all day, Roomy can show it in the menu bar; see how to show CPU and memory usage in the menu bar, and our Mac health check for everything else worth checking.

Frequently asked questions

Is it bad that my Mac is using almost all of its RAM?

No. macOS keeps recently used files in memory and compresses memory before it touches the disk, so Memory Used close to the total is normal. Look at the Memory Pressure graph instead: if it is green, your Mac has enough memory for what you are doing.

What is swap on a Mac, and is it bad?

Swap is space on the startup disk that macOS uses as extra memory when RAM is full. A little swap is normal, especially after the Mac has been running for days. Swap that keeps growing while memory pressure is yellow or red means your Mac is short of memory for what you run.

Should I use a RAM cleaner on my Mac?

Usually not. macOS manages memory well and reuses cached memory the moment an app needs it. Apps that clear memory on a timer give a temporary number to look at, then macOS fills the cache again. Quitting the app that uses the most memory helps far more.

How much RAM does my Mac have?

Choose Apple menu, then About This Mac. The Memory line shows how much is installed. Activity Monitor shows the same figure as Physical Memory at the bottom of the Memory tab.

Give your Mac room to breathe.
Start with a free scan.

Download Roomy, see exactly what is taking up space, and clean up to 500 MB for free. Nothing is removed until you say so.

Version 1.2.1 10.8 macOS 14 Sonoma or later Apple silicon and Intel