Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Your system has run out of application memory

Hi-


"Your system has run out of application memory"


I have started receiving this error(?) message frequently of late. Can't understand why - I have 16GB of RAM and activity monitor typically shows plenty of RAM available. How do I fix this annoyance?


Thanks.




iMac Line (2012 and Later)

Posted on Oct 29, 2021 4:11 PM

Reply
Question marked as Best reply

Posted on Oct 29, 2021 4:18 PM

If you are getting "Your system has run out of application memory" dialog boxes, and a list of most likely innocent apps listed, then here is the explanation.


For the record, there are 2 reasons for the "Your system has run out of application memory" dialog box.


A) Your boot disk has very low free storage, and macOS cannot create page/swap files to offload virtual memory contents to disk. This is generally not the case, but I mention because if you do have very low free storage, it might apply.


B) A process (or set of processes) have asked macOS for excessive amounts of virtual memory address space. Virtual memory address space requires macOS to create Virtual Memory Page Tables in the kernel address space to keep track of the application virtual addresses given out. Generally, if there is a memory leak (process asks for a virtual address range, uses the addresses, forgets to give them back, asks for another virtual address range, uses the addresses, wash, rinse, repeat), eventually there are so many virtual memory page table entries trying to keep track of the virtual addresses, that macOS no longer has memory available for applications, and you get the "Your system has run out of application memory".


If you look at Applications -> Utilties -> Activity Monitor -> View (menu) -> All Processes -> Memory (tab), you can see what processes are using lots of memory.


You can also issue the following command from Applications -> Utilities -> Terminal:

ps ax -o vsz,pid,comm | sort -n

which will display the virtual memory used sorted so the largest virtual memory consuming users are at the end. The virtual memory sizes are in 1024 byte units.


NOTE: I have seen situations where no single process is using all the memory, but rather a host of smaller processes are using up all the virtual memory. That is to say, a 100 instances of the same program all running with a moderate amount of memory eventually adds up to a lot of page table entries being used.


I have also seen users with 100's of web browser tabs open, where each tab is being managed by its own separate process. And just because you are not looking at any give tab, does not mean the Javascript running on that web page, is not taking up memory and virtual addresses.

60 replies

Jan 27, 2022 1:26 PM in response to AlexandraTav

Sounds useful, thank you, Alexandra, I'll give that a try. Meanwhile just to double-check: is it normal for Safari Version 15.2 (17612.3.6.1.6) with 5 open tabs that contain mostly plain-text and basic HTML content to be showing this in the Activity Monitor? There are of course other processes named after each of the websites open, then there's a separate process for Safari, Safari Graphics and Media, Safari Networking...


Running macOS Monterey 12.1 on a MacBook Air (13-inch, Early 2015) with 8 GB 1600 MHz DDR3, around 30GB of the 120GB SSD disk space free. This is how it usually starts to look a couple of hours before another "Your system has run out of application memory" comes on...


Nov 16, 2021 4:11 AM in response to akfromnyc

I just received my M1 Max 10/32c with 32GB RAM and am for the first time seeing this issue. I'm a reasonably heavy After Effects user and Monterey appears to be having problems managing the memory here. Whether this is Adobe or Apple remains to be seen but judging as other users are experiencing the same problem without mentioning Adobe I'm inclined to believe the issue is with OS X. This isn't something I've seen in the 15 some years of using this professionally even with 4/8 or 16GB of RAM my previous machines. Hopefully this can be fixed in a. future update.

Nov 25, 2021 9:36 PM in response to revoltforhealthcare

>This is ridiculous. Brand new mac, running only 5 programs - none of which are large editing apps. They are just browsers and small task apps. I'm returning this pos computer


If you read my first reply, I explained why this is happening, and how you can find the offending process (or processes).


But if you want to return your Mac, because it is Christmas season, Apple offers refunds until January 6th (or is it the 8th), assuming you purchased this Mac recently.

Dec 2, 2021 6:59 AM in response to akfromnyc

We have this problem on an iMac (2019), after upgrading to Monterey. Mail when launched, steadily ramps up memory usage until we receive the .. system has run out of application memory message then mail crashes. I've tried everything I've seen posted, without success. Ran Disk First Aid, now trying on OS re-install. Apple needs to get this problem identified and patched quickly.

Dec 19, 2021 1:57 PM in response to WhitegoldEmpire

WhitegoldEmpire wrote:

I have the same issue too. running new M1 chip mac13 air, even after upgrading to Monterey,same problem. I get it even with only 4 apps open: pages, notes, safari, music,
at some point it will force quit the apps for me, without consent.
everything was running smooth until this!

Have you used Activity Monitor to identify the offending processes? See the my first reply to this thread on page 1.

Dec 19, 2021 2:22 PM in response to BobHarris

Hi Bob! Thanks for helping dig into this problem. I have a BRAND NEW M1 that I purchased one week ago. It's got 16MB RAM and I'm getting this error too. When I check the Activity Monitor, it tells me that I have plenty of RAM available and no processes are using an excess. But I still get the error. I am running Monterey 12.0.1. Any further thoughts?

Dec 20, 2021 5:09 AM in response to fenskelynch

fenskelynch wrote:

Hi Bob! Thanks for helping dig into this problem. I have a BRAND NEW M1 that I purchased one week ago. It's got 16MB RAM and I'm getting this error too. When I check the Activity Monitor, it tells me that I have plenty of RAM available and no processes are using an excess. But I still get the error. I am running Monterey 12.0.1. Any further thoughts?


A) There is a known memory leak bug in Monterey 12.0.1. You should upgrade to 12.1 (this version has been out for about a week). System Preferences -> Software Update


B) There should be a process (or several processes) that have excessive memory usage. If the apps listed in the "Your system is out of applications memory" dialog box do not show excessive memory usage, then make sure when using Activity Monitor, you set the Activity Monitor -> "View" menu to "All Processes", otherwise, it will not show you the daemons, agents, and other background processes.


C) And do not forget that if your internal SSD (NVMe) storage has too little free space, you can also get this dialog box. Since you say you have only had your M1 for a week, I'm suspecting maybe you have not run out of storage, unless you migrated a lot of data over from a previous Mac, and have basically filled up your internal SSD (NVMe) storage.

Jan 3, 2022 6:08 AM in response to akfromnyc

I am getting this message constantly after updating to monterey, along with other issues with this new os. it shows certain applications using GB of memory even when those applications don't have any files open in them. I haven't changed a single thing in my workflow other than upgrading to monterey. none of the explanations have helped so far as I can clearly see which applications in the list are using the high GB but there's no explanation on how to reduce their footprint. clearly an issue with monterey that needs a fix asap as I can't get any work done with my whole system repeatedly crashing!

Jan 5, 2022 1:51 PM in response to AlexandraTav

AlexandraTav wrote:

I am getting this message constantly after updating to monterey, along with other issues with this new os. it shows certain applications using GB of memory even when those applications don't have any files open in them. I haven't changed a single thing in my workflow other than upgrading to monterey. none of the explanations have helped so far as I can clearly see which applications in the list are using the high GB but there's no explanation on how to reduce their footprint. clearly an issue with monterey that needs a fix asap as I can't get any work done with my whole system repeatedly crashing!

Quit the offending apps, and restart them. That is my suggestion as a short term fix. If you are not currently running Monterey 12.1, then you should update your macOS version.

Jan 10, 2022 4:00 PM in response to tkgb606

I am the originator of this thread - I am running Monterey 12.0.1 and have not had the problem in a month or so. My original problem was terrible on Catalina (and started happening only in 2H 2021), and then appeared infrequently once I upgraded to Monterey, but has been a non-issue for the last month or so. No difference in my usage patterns. Go figure.


Sounds like i should not upgrade to 12.1 (from 12.0.1).

Jan 21, 2022 4:50 PM in response to tkgb606

The "Google Chrome.app" ships with the executable compiled with BOTH intel and ARM binaries in the same file (a Universal app).


So there is no separate intel ONLY Chrome app.


In Big Sur there used to be a way in the Finder -> file -> Get Info... dialog to force the app to run under Rosetta 2, but Monterey does not have that option any longer.


You might be able to use this article to strip the ARM code from the Google Chrome Universal binary

https://eclecticlight.co/2020/07/30/instant-weight-loss-how-to-strip-universal-apps/

Make a copy of the Google Chrome.app and experiment on that.

Jan 27, 2022 1:42 AM in response to akfromnyc

Hi! I've got a basic early 2015 "Macbook Air" model with 8GB RAM that started giving me the "Your system has run out of application memory" screen shortly after updating to macOS Monterey 12.1.


I keep using the same set of applications for about 10-15 years – these days it's mostly a few tabs in Safari, one or two documents in Pages and TextEdit, Mail and that's what takes it for the message to pop up. The most basic set you could imagine. But yes, I also put my computer to sleep by closing it often and then have it wake up by physically opening up the Macbook, as some users experiencing the same problem reported, so that may have something to do with it.


Spent like two hours reading various pages linked in this thread but I can't seem to figure out the problem. Sometimes in Activity Monitor there's multiple processes called "Safari Web Content (Cached)" or a process named after the website (e.g. a process named "https://mail.google.com" – your basic Gmail) that seem to grow to a few hundred megabytes but wiping out the cache, restarting Safari, rebooting the computer, even resetting the NVRAM memory etc don't help. In the end the problem always comes back sooner or later.


I'm puzzled and would like to point out this really is a bug: Apple made computers 20 years ago that handled more than this. Reported the problem to Apple. As usual thank you kindly to anyone who might figure out a solution.

Your system has run out of application memory

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.