Topic clusters
Free Mac memory check: a read-only script you can read first
One short script that answers: is my Mac short of memory, who holds it, and is anything running that should have quit. It only reads, installs nothing, never prints command lines, and you can read it before you run it.
Activity Monitor shows memory, but not what it means, and it does not group the helper processes that AI tools, editors and Docker leave behind. This script prints one report: your memory pressure, how much memory macOS has swapped to disk, the apps holding the most, and a count of helper processes by kind with how long the oldest has been running.
It is a single file of plain shell you can read in a minute. It changes nothing, installs nothing, needs no admin password and sends nothing anywhere. It prints app and process names only, never command lines, file paths or your username, so its output is safe to keep and compare.
Run it
Download it, read it, then run it. Reading a script before you run it is good practice for any script, including this one.
curl -fsSLO https://macmelon.com/tools/mac-memory-check.shless mac-memory-check.shbash mac-memory-check.shWhat it prints
Here is the top of a real report, from a 24 GB Apple silicon Mac that had been up for two and a half days with Cursor, a browser and several AI tools open. App names are the ones on that Mac.
MEMORY PRESSURE
Now: Normal (green)
Free (system-wide): 47%
SWAP (memory macOS has written to disk)
Used: 16339.12 MB of 17408.00 MB
BIGGEST APPS (approximate, grouped by app)
1772 MB Cursor
580 MB ChatGPT
161 MB Sentinely for Mac
HELPERS BY KIND (count, memory, longest running)
editor extension host 12 processes 1356 MB longest running 2.0 days
dev server / watcher 4 processes 825 MB longest running 1.4 days
MCP server 85 processes 287 MB longest running 2.5 days
language server 6 processes 159 MB longest running 1.4 daysPressure was normal even though 16 GB had been swapped out. Swap is memory that was moved to disk when it was not needed, and it only hurts when it is read back. The sign of trouble is pressure turning yellow or red while swap grows. See what the numbers mean.
How to read your report
- Pressure Normal. Your Mac is coping, even if memory looks full. Stop worrying about the memory number.
- Pressure Warning or Critical, with swap growing. Something is holding more than your Mac can spare. Start with the biggest app, then the helper kinds.
- A helper kind with many processes and a long run time. If you have closed the app that starts them, they are leftovers. The guides on MCP servers and Docker and Ollama show how to stop them safely.
- Low free disk space. Swap lives on your startup disk. A nearly full disk makes memory shortages worse. Check what is filling it.
What the numbers are, and are not
App memory in this report is resident size (RSS), grouped by app: what is in RAM right now. RSS leaves out memory macOS has compressed or swapped out, and counts shared pages in every process that uses them, so it can read too low or too high. Treat the order as a good guide and the totals as a rough size. On a Mac with a lot of swap, an app's true footprint can be several times its RSS. The helper kinds are recognised by patterns in process command lines, so a kind can include a few false matches, for example a program that has the letters mcp in a folder name.
None of this replaces measuring a fix. Sentinely, for example, measures what a fix gives back at ten seconds and a minute later, using the memory footprint macOS charges to each process.
Share a report if you want to
We are collecting reports like this to see how real developer Macs behave, and to publish what we learn. Sending one is optional, and the report contains only the items you saw above. Get in touch through the contact page with the report and your Mac's memory size, and say whether you are happy for it to be included in anything we publish, in aggregate and without your name.
When you want it to watch your Mac
A script tells you what is true now. Sentinely keeps watch from the menu bar, warns you minutes before macOS runs out of memory, names what is holding it, lets you fix it in one click, and measures the result. The diagnosis, warnings and your first fix are free.
Questions
Is the Mac memory check script safe?
Yes. It only reads system information, changes nothing, needs no admin password and sends nothing anywhere. It prints app and process names, sizes and ages, never command lines or file paths. It is plain shell you can read before running.
Does it need Sentinely?
No. The script is free, stands alone and works on any Mac. Sentinely is a separate app that watches continuously and can fix what it finds.
Which macOS versions does it work on?
It uses commands built into macOS, such as sysctl, vm_stat, ps and awk. We tested it on macOS 26 on Apple silicon. It should run on earlier versions, but we have not tested them.
Why is swap large when pressure is normal?
Swap holds memory macOS moved to disk when it was not needed. It stays there until something asks for it back. Large swap with normal pressure usually means a busy period has passed. The warning sign is pressure turning yellow or red while swap grows.
How do I check RAM usage on a Mac without a script?
Open Activity Monitor and click the Memory tab. The Memory Pressure graph and the Memory Used and Swap Used figures are at the bottom. How to check memory usage on a Mac walks through each number.