Low memory pop up

I am getting a low memory pop up on my MacBook Air MacOS Majave 10.14.6. When I check the activity monitor, my RAM is 50% or less and is still green on the graph. The pop up says to close applications but I only have google chrome open. What can be causing this? How can I fix it?

Thanks

MacBook Air

Posted on Apr 17, 2020 8:22 AM

Reply
3 replies

Apr 17, 2020 9:25 AM in response to arcebudr

There are 2 possible causes


A) If the free space on your storage device is so low macOS cannot create any new swapfiles.


B) if you have an application (or a few applications) that have asked macOS for virtual memory address space in such huge quantities that macOS ends up creating so many virtual memory page tables to keep track of the virtual address space created that more RAM is being taken up by page tables than is available to actually run the applications.


In this 2nd case it is either a side effect of use very memory (RAM) intensive applications (video editing, very large format photo editing, audio editing, etc...), _OR_ it is a memory leak in an application.


A memory leak is where an application ask for virtual memory, macOS gives it to the app, the app uses the address space, then forgets to give it back to macOS. The app then asks for more virtual address space, totally forgetting about the previous request. This cycle repeats until the application has asked for so much virtual memory that macOS has created a huge number virtual memory page tables, and macOS is using so much RAM to keep track of virtual memory address space, that it no longer has RAM available to give to applications.


Just to be clean. A) relates to free space on your storage device (Disk, SSD, etc...). B) is talking about RAM (Random Access Memory).

Apr 17, 2020 2:29 PM in response to arcebudr

If you think malware/adware, then run Malware bytes. The free version is all you need.


You can look at the virtual memory usage using

ps -axo vsz,comm | sort -n

from an Applications -> Utilities -> Terminal session

The first column is the amount of virtual memory in kilobytes (1024 bytes). The sort will arrange for the apps using the most to be at the end of the list. So the worse offenders will be at the end of the list.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Low memory pop up

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