Fix Mac "System Has Run Out of Application Memory
In this article
When your Mac shows the “Your system has run out of application memory” alert, it means the available RAM is nearly exhausted, forcing macOS to use slower swap space on the disk. The quickest fix is to quit memory-hogging apps and free up RAM, then restart if needed. Below are step-by-step solutions, from simple to more advanced.
What You'll Need
- Access to your Mac's desktop (or ability to restart it)
- Administrator account (for clearing cache and resetting NVRAM)
- Optional: external drive for backup if you plan to erase storage
Step-by-Step
- Quit memory-heavy apps immediately. Click the Apple menu and choose Force Quit (or press Command+Option+Esc). Select apps like browsers with many tabs, video editors, or virtual machines, and click Force Quit. This frees RAM instantly.
- Check memory usage in Activity Monitor. Open Activity Monitor (in Applications > Utilities). Click the Memory tab. Sort by the Memory column to see which processes use the most. Look for apps with huge numbers (e.g., over 2 GB). Quit those apps normally if possible, or force quit if they're unresponsive.
- Close browser tabs and extensions. Browsers are common culprits. Close unused tabs, disable or remove unnecessary extensions (in Safari > Settings > Extensions, or your browser's equivalent). Restart the browser after doing so.
- Restart your Mac. A restart clears RAM and resets many temporary system issues. Click the Apple menu and choose Restart. If the system is frozen, press and hold the power button until it shuts down, then press it again to turn on.
- Free up disk space. Low storage can worsen memory pressure because macOS uses the disk as swap. Go to Apple menu > System Settings > General > Storage (or About This Mac > Storage on older macOS). Delete unused files, empty the Trash, and consider moving large files to an external drive. Aim for at least 10-15% free space.
- Clear system and app caches (advanced). Open Finder, press Command+Shift+G, and type
~/Library/Caches. Delete the contents of folders for apps you don't use often (e.g.,com.google.Chrome). Be careful: only delete cache files, not the entire folders if you're unsure. Then empty the Trash. - Reset NVRAM (Intel Macs only). Shut down your Mac, then turn it on and immediately press and hold Option+Command+P+R for about 20 seconds, then release. This resets some memory-related settings. On Apple Silicon Macs, this is not needed; a restart is sufficient.
- Reduce visual effects. Go to Apple menu > System Settings > Accessibility > Display and enable Reduce motion and Reduce transparency. This lowers GPU memory usage, freeing up RAM for other tasks.
- Upgrade RAM (if possible). If your Mac allows user-upgradable RAM (check Apple's specs for your model), adding more memory is the permanent fix. For Macs with soldered RAM, this isn't possible; consider reducing workload or upgrading the Mac.
Common Mistakes
- Ignoring Activity Monitor and just restarting. Restarting helps temporarily, but if you don't identify the culprit, the issue will recur.
- Deleting system files you don't understand. Removing files from
/Systemor/Librarycan break macOS. Stick to user caches and temporary files. - Using "memory cleaner" apps. These often do more harm than good, as they force macOS to purge caches that are actually useful, slowing down your system.
- Not checking storage space. A nearly full disk can cause memory pressure even with plenty of RAM, because swap space runs out.
Tips
- Make a habit of closing apps you're not using, especially before heavy tasks like video editing.
- Use Safari instead of Chrome if you have limited RAM; Safari is more memory-efficient on Macs.
- Keep your macOS updated, as Apple often improves memory management in new versions.
- If you frequently run out of memory, consider reducing the number of startup items (in System Settings > General > Login Items).
Troubleshooting
If the alert persists after following the steps:
- Check for malware or background processes. In Activity Monitor, look for unknown processes with high memory. If you suspect malware, run a scan with a reputable antivirus (e.g., Malwarebytes).
- Boot into Safe Mode. Restart your Mac and hold the Shift key until the login window appears. Safe Mode loads only essential extensions and may resolve memory issues caused by third-party software. If it works, restart normally to exit Safe Mode.
- Reset the SMC (Intel Macs). For Intel Macs with a T2 chip, shut down, then hold Control+Option+Shift (right side) for 7 seconds, then also hold the power button for 7 more seconds. Release and turn on. This can fix power-related memory issues. Apple Silicon Macs don't have an SMC.
- Erase and reinstall macOS. As a last resort, back up your data, then restart in Recovery Mode (hold Command+R on Intel, or press and hold the power button on Apple Silicon until you see Options), and use Disk Utility to erase the startup disk, then reinstall macOS. This wipes everything, so only do this if you have a full backup.
Frequently Asked Questions
How much RAM do I need to avoid this?
For basic tasks, 8 GB is usually sufficient. For heavy multitasking or professional work, 16 GB or more is recommended. Check Apple's specs for your model.
Will clearing cache files delete my passwords?
No, cache files are temporary data that apps use to speed up loading. Passwords are stored in Keychain, which is separate. However, clearing caches may log you out of some websites, so be prepared to re-enter credentials.
Why does my Mac show this even when I have plenty of free space?
Free disk space is only part of the equation. The issue is RAM exhaustion, not storage. Even with 100 GB free, if you have too many apps open, RAM runs out.
Can I increase virtual memory to fix this?
macOS manages virtual memory automatically. You can't manually increase it, but ensuring you have free disk space helps the system use swap effectively.
Does this error mean my Mac is broken?
No, it's a temporary resource issue. It usually happens when you push your Mac beyond its RAM capacity. It's not a hardware failure.
Is it safe to force quit apps?
Yes, force quitting is safe. You may lose unsaved work in that app, but it won't damage your system. It's better than leaving the app frozen.