Topic clusters
Fix “Your system has run out of application memory” on a Mac
The message means macOS has no room left for memory, in RAM or on disk. Quit the largest app in the list, check free disk space, then find what was holding the memory.
The Force Quit Applications window appears with the line “Your system has run out of application memory”. Apps freeze or are marked as paused. It looks like a hardware fault, but it almost never is.
It means the apps you have open want more memory than macOS can provide, counting both RAM and the space it can borrow from the startup disk. This guide covers what to do in the moment, how to get more application memory back, and how to keep it from happening again.
What the message means
When RAM fills up, macOS compresses memory and then writes some of it to the startup disk as swap. That normally works without you noticing. The message appears when that stops working: swap cannot grow any further, usually because the disk is nearly full or because one app keeps asking for more.
So the cause is one of two things. Either something is holding far more memory than it should, or the disk has no room left for swap. Often it is both.
Right now: get the Mac responding
- Look at the list. The window shows each app and the memory it holds. Pick the largest one you can live without for a minute.
- Save first if you can. Switch to apps that still respond and save your work.
- Quit the largest app. Select it and choose Force Quit. Unsaved changes in that app are lost, which is why you save the others first.
- Wait a few seconds. The Mac needs a moment to recover. If it is still stuck, quit the next largest.
- Restart if nothing responds. Hold the power button only as a last resort.
Check the startup disk
Swap lives on the startup disk. If the disk is nearly full, macOS cannot add more swap, and the message comes much sooner. Check this before anything else.
df -h /Read the Avail column. If only a few gigabytes are free, freeing disk space is the fix.
sysctl vm.swapusageFind what was holding the memory
Open Activity Monitor, click the Memory tab, and sort by the Memory column. Look for one app far above the rest, or one whose number keeps climbing while you watch. An app that grows without stopping has a memory leak. Quit it, reopen it, and check for an update.
On a developer Mac, the usual holders are an editor that has been open for days, leftover helper processes from AI coding tools, a model still loaded in Ollama, and Docker Desktop's virtual machine.
How to free up RAM on a Mac, without a cleaner
Freeing RAM means closing what is holding it. These are the steps that work.
RAM cleaner apps and the purge command do not help here. They empty the file cache, which macOS gives up on its own whenever an app needs the room, and they do nothing about the app that is holding the memory.
- Quit apps you are not using. Press Command-Q. Closing the window with the red button leaves most apps running.
- Close browser windows and tabs you no longer need. Each tab is its own process.
- Restart apps that have been open for days. Chat apps and editors grow over time and start small again.
- Stop leftover helpers. Dev servers, language servers and MCP servers can keep running after the tool that started them has closed.
- Unload local AI models and quit Docker Desktop when you are not using them.
- Restart the Mac if memory pressure stays high after all of that.
Stop it happening again
- Keep free space on the startup disk, so swap has room to grow.
- Update the app that leaked. If it keeps happening with one app, report it to the developer.
- Trim what opens at login. System Settings > General > Login Items & Extensions lists what starts with the Mac.
- Check memory pressure now and then. A graph that sits in yellow during normal work means the Mac is close to its limit.
When to let an app do it
Sentinely watches swap, free disk space and memory pressure, and warns you minutes before macOS runs out of application memory. It names what is holding the memory, offers a fix you review first, and measures what came back. The warnings, the live check and your first fix are free.
Questions
What does "Your system has run out of application memory" mean?
macOS has no room left for the memory your apps are asking for. RAM is full, and the swap space on the startup disk cannot grow any further. macOS pauses apps and asks you to quit some.
Why does it happen when my Mac has plenty of RAM?
Two common reasons. One app has a memory leak and keeps growing until it fills everything. Or the startup disk is nearly full, so macOS cannot create the swap it would normally use.
How do I get more application memory on a Mac?
Quit the apps holding the most memory and free space on the startup disk so swap can grow. You cannot add application memory as a setting. It is your RAM plus the swap space the disk can hold.
How do I free up RAM on a Mac?
Quit apps you are not using with Command-Q, close browser tabs, restart apps that have been open for days, and stop leftover helper processes. Activity Monitor's Memory tab shows which ones are largest.
Does restarting the Mac fix it?
For the moment, yes. A restart clears memory and swap. If the same apps are opened again and one of them leaks, the message comes back, so find the app that caused it.
Can I add more RAM to my Mac?
Not on a Mac with Apple silicon. The memory is part of the chip and is fixed when the Mac is bought. Some older Intel models can be upgraded.