---
title: "Mac has run out of application memory: how to fix · MacMelon"
description: "What the Force Quit window means, how to get your Mac responding, how to free up RAM without a cleaner app, and how to stop the message coming back."
url: "https://macmelon.com/guides/mac-system-has-run-out-of-application-memory"
---

# 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.

By [Harish Ganapathi](https://macmelon.com/about), Co-founder · Updated November 21, 2026

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.

-   [Swap](https://macmelon.com/glossary/swap-memory)
-   [Memory pressure](https://macmelon.com/glossary/memory-pressure)

## 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.

Free space on the startup disk

```
df -h /
```

Read the `Avail` column. If only a few gigabytes are free, freeing disk space is the fix.

Swap in use

```
sysctl vm.swapusage
```

-   [How to free up disk space on a Mac](https://macmelon.com/guides/how-to-free-up-disk-space-on-a-mac)

## Find 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 check memory usage on a Mac](https://macmelon.com/guides/how-to-check-memory-usage-on-a-mac)
-   [Why Cursor uses so much RAM on a Mac](https://macmelon.com/guides/why-is-cursor-using-so-much-ram-on-mac)
-   [Claude Code MCP servers left running](https://macmelon.com/guides/claude-code-mcp-servers-still-running-on-mac)
-   [Docker and Ollama memory after closing](https://macmelon.com/guides/docker-and-ollama-memory-after-closing-on-mac)

## 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 leftover MCP servers and AI helpers](https://macmelon.com/use-cases/stop-leftover-ai-helpers-and-mcp-servers)
-   [Unload Ollama and Docker Desktop memory](https://macmelon.com/use-cases/get-memory-back-from-ollama-and-docker)
-   [Why Sentinely won't "free your RAM"](https://macmelon.com/blog/why-sentinely-wont-free-your-ram)

## 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](https://macmelon.com/apps/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.

-   [Sentinely](https://macmelon.com/apps/sentinely)
-   [How Sentinely measures](https://macmelon.com/how-sentinely-measures)

## 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.

## Related use cases

[### Find out why your Mac is slow](https://macmelon.com/use-cases/find-out-why-your-mac-is-slow)[### Stop AI-tool helpers left running after you close your editor](https://macmelon.com/use-cases/stop-leftover-ai-helpers-and-mcp-servers)[### Get memory back from local AI models and Docker Desktop](https://macmelon.com/use-cases/get-memory-back-from-ollama-and-docker)[### When VS Code or Cursor slows your Mac](https://macmelon.com/use-cases/vs-code-or-cursor-slowing-your-mac)

## Related terms

[### Memory pressure](https://macmelon.com/glossary/memory-pressure)[### Swap](https://macmelon.com/glossary/swap-memory)[### Compressed memory](https://macmelon.com/glossary/compressed-memory)[### Memory footprint](https://macmelon.com/glossary/memory-footprint)

## Related notes

[### Why Sentinely won't "free your RAM"](https://macmelon.com/blog/why-sentinely-wont-free-your-ram)[### Developer Mac memory after two days: measured](https://macmelon.com/blog/developer-mac-memory-snapshot-november-2026)
