Skip to content
GEEKnodes

macOS

Mac Activity Monitor: Memory Pressure, Swap, CPU and Energy

Learn to read Mac Activity Monitor: memory pressure, swap, compressed memory, CPU and energy, and how to tell whether your Mac really needs more RAM.

Activity Monitor is the equivalent of Windows Task Manager: it shows what is using memory, processor and battery on your Mac. This guide explains how to read its numbers without panicking over high “memory used” and how to decide, with data, whether your next Mac needs more RAM.

In short

  • “Full” memory is normal: macOS uses free RAM as cache.
  • The figure that matters is memory pressure: green is fine, yellow is a warning, red means you lack RAM.
  • Swap and compressed memory are normal in small amounts; they grow when RAM falls short.
  • On the CPU tab, sort by % CPU to find runaway processes.
  • Under Energy, Energy Impact tells you which apps drain the battery most.

How to open Activity Monitor

There are two ways:

  1. Spotlight: press Command + space bar, type Activity Monitor and press Return.
  2. Finder: Applications → Utilities → Activity Monitor.

At the top are the tabs: CPU, Memory, Energy, Disk and Network. Click any column title to sort by it.

Memory tab: the bottom panel

The process list shows how much memory each one uses. The really useful part is the bottom panel.

FigureWhat it is
Memory PressureGraph showing whether memory is coping
Physical MemoryTotal installed RAM
Memory UsedRAM in use, split into the next three
App MemoryTaken up by applications
Wired MemoryNeeded by the system; cannot be freed or compressed
CompressedMemory of inactive apps compressed to make room
Cached FilesFiles kept in free RAM to open faster
Swap UsedStartup disk space used as an extension of RAM

Why “memory used” always looks high

macOS tries not to waste RAM. If you have 16 GB and apps use only 8 GB, it uses the rest as file cache. That cache is freed as soon as an app needs memory.

A 16 GB RAM bar with 8 GB for apps and the rest as file cache that is released when an app needs it
Free RAM is used as cache and handed back as soon as an app asks for it

So it is normal to see almost all memory occupied while the Mac runs smoothly. It is not a problem and no “RAM cleaner” app is needed.

Memory pressure, the key figure

Apple explains that the memory pressure graph is calculated from free memory, swap rate, wired memory and cached file memory. Its colors mean:

ColorAccording to AppleWhat to do
GreenThe Mac is using RAM efficientlyNothing
YellowIt may eventually need more RAMCheck which apps use most
RedThe Mac needs more RAMClose apps or consider more memory
Memory pressure graph in green, yellow and red with what each level indicates
Green is fine, yellow is a warning and red means RAM is short

Watch the graph during your usual use, not at a single moment. A yellow spike while exporting a video is normal. Sitting in yellow or red for hours of normal work means you lack RAM.

Compressed memory and swap

When RAM nears its limit, macOS does two things, in this order:

  1. Compresses the memory of inactive apps. Compressing is fast and frees space without touching the disk.
  2. If that is not enough, moves data to the startup disk: that is swap.
When RAM fills, macOS first compresses inactive app memory and then moves data to disk as swap
It compresses in RAM first, and only uses disk swap if that is not enough

Swap is much slower than RAM, although current SSDs make it fairly bearable. It also writes to the SSD constantly.

How to read swap

  • A few hundred MB with green pressure: normal. macOS moves data unused for a while to swap.
  • Several GB with yellow or red pressure and a slow Mac: RAM is short for what you do.

To see swap from Terminal:

sysctl vm.swapusage

The output shows total, used and free:

vm.swapusage: total = 2048.00M  used = 1291.50M  free = 756.50M  (encrypted)

Swap is created and grows on its own as needed. No configuration required.

Practical example: do I need a Mac with more RAM?

Take an 8 GB Mac with this daily use: Safari with 25 tabs, Slack, Spotify and Lightroom.

  1. Open Activity Monitor and keep the Memory tab visible while you work.
  2. Check the pressure graph several times during the day.
  3. Note swap used and compressed at the end of the day.

Possible outcomes:

PressureSwap at day’s endConclusion
Green almost alwaysUnder 1 GB8 GB is enough
Yellow at times2–4 GBAt the limit; get more RAM next time
Often yellow or redOver 4 GB and the Mac stuttersYou lack memory for this use

In Apple silicon Macs the memory is built into the chip and cannot be upgraded later. That is why this test is worth doing before buying your next computer.

Before blaming RAM

Sort the list by the Memory column and check the top entries:

  • A browser tab with a heavy site can take several GB.
  • A process that keeps growing may have a memory leak; restarting that app fixes it temporarily.

CPU tab

Shows how much processor each process uses.

Column or figureWhat it means
% CPUPercentage of one core. Over 100% means several cores
CPU TimeTotal processor time used since launch
ThreadsNumber of threads in the process
System / User / Idle (bottom panel)How the processor splits between macOS, your apps and idle

Typical use: if the fans spin for no reason or the Mac is hot, sort by % CPU. If a process keeps showing a very high value while you are not using it, close it.

To close a process, select it and click the X button at the top. Choose Quit; use Force Quit only if it does not respond.

System processes you should not close

Some names often appear near the top and are usually legitimate:

  • kernel_task: the macOS kernel. If its CPU use rises when the Mac is hot, macOS uses it to limit temperature.
  • mds and mds_stores: Spotlight indexing. They spike after updating macOS or connecting a new drive and then settle.
  • WindowServer: draws everything on screen. Rises with several monitors or many windows.

Energy tab

Useful on laptops to see what drains the battery.

ColumnWhat it means
Energy ImpactRelative current consumption; lower is better
12 hr PowerAverage of the last 12 hours (laptops only)
App NapWhether macOS is “napping” the app when you cannot see it
Preventing SleepWhether the app stops the Mac from sleeping

If the laptop will not sleep, look for Yes in the Preventing Sleep column: it is usually a video call, a download or an open player.

Common mistakes

  • Looking at memory used instead of pressure. Nearly full memory with green pressure is normal.
  • Installing “RAM cleaners”. They empty the cache macOS uses to run faster.
  • Panicking over a bit of swap. It only matters with high pressure and slowness.
  • Force quitting system processes. You can trigger logouts or restarts.
  • Judging from a single moment. Watch during your normal day.

Accessibility preferences

Quick profiles

Text and reading

Text size
Default
Line height
Default
Letter spacing
Default
Word spacing
Default

Colour

Motion and orientation

Cursor