My MacBook Pro runs out of application memory often when I only have one program open
My MacBook Pro runs out of application memory often when I only have one program open. Help please
MacBook Pro 13″, macOS 13.2
My MacBook Pro runs out of application memory often when I only have one program open. Help please
MacBook Pro 13″, macOS 13.2
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. Depending on how much virtual memory is being called for, anything under 50-100GB of free storage may trigger the message.
Apple menu (upper left corner) -> About This Mac -> Storage (tab)
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 non-pageable 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, forgets again, wash, rinse, repeat), eventually there are so many non-pageable 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. Many of these processes will NOT be applications. Just background agents and daemons used to provide many of the macOS services, as well as 3rd party background processes doing whatever that 3rd party app thinks it should be doing.
Also keep in mind that each web browser tab will be a separate process running its own Javascript. If you have lots of browser tabs open, or if one of the browser tabs running Javascript with a bug in it, it is possible these browser tabs will add up to a lot of virtual memory demands, but no individual tab will look all that big.pll
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. Depending on how much virtual memory is being called for, anything under 50-100GB of free storage may trigger the message.
Apple menu (upper left corner) -> About This Mac -> Storage (tab)
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 non-pageable 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, forgets again, wash, rinse, repeat), eventually there are so many non-pageable 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. Many of these processes will NOT be applications. Just background agents and daemons used to provide many of the macOS services, as well as 3rd party background processes doing whatever that 3rd party app thinks it should be doing.
Also keep in mind that each web browser tab will be a separate process running its own Javascript. If you have lots of browser tabs open, or if one of the browser tabs running Javascript with a bug in it, it is possible these browser tabs will add up to a lot of virtual memory demands, but no individual tab will look all that big.pll
We are volunteers in this forum. We cannot look at your Mac. So you have to do the leg work to figure it out.
WHEN you get the "Your system has run out of applications memory" dialog box, you should check Activity Monitor as mentioned above, and look for processes that are consuming excessive amounts of memory.
If it is not obvious what those processes are, you can always ask. Maybe take a screenshot and post it.
You can check your free storage at anytime. If you have 50-100GB of free storage, then you should be OK, but if your storage is basically full, that could be the cause.
Again, we are just volunteers and can only go on what you actually tell us.
Hi thank you for the response. I am still not clear what the solution is. Please advise.
Thank you,
Tara
My MacBook Pro runs out of application memory often when I only have one program open