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

System run out of memory

Hi,


I got MacBook Pro from 2010. It has Intel Core i7 2.66 GHz processor. It was completely slow and unresponsive so I did some upgrade recently. I got from 4 to 8 GB of memory and replaced HDD with new SSD 256 GB. It was rejuvenated regarding speed (opening of Safari or files or searching) but I still got Your system has run out of application memory issues. It mostly happen to Safari and Mail especially when I leave them open and do not work in them. But it happens with other apps too. I downloaded El Capitan but I didn't resolve issue. It is a quite annoying and I am not in shape of buying a new MacBook.

All advices much appreciated!


Thanx!

MacBook Pro (15-inch Mid 2010), OS X El Capitan (10.11.1)

Posted on Nov 29, 2015 11:52 AM

Reply
2 replies

Nov 29, 2015 12:00 PM in response to mike982

There is excessive swapping of data between physical memory (that is, the memory chips on the logic board) and virtual memory (one or more files on the startup volume.) That activity is relatively slow and causes the whole system to be less responsive. It can happen for two reasons:

A long-running process with a memory leak (a kind of bug)

Not enough memory for your usage pattern

Please note that if the cause is a memory leak, installing more memory will not help, as you've already learned. That's likely if you already have more than 4 GB of memory. Tracking down a memory leak can be difficult, and it may come down to a process of elimination.

These instructions are for OS X 10.9 and later. Some details may be slightly different for earlier versions of OS X.

When you notice the slowdown, open the Activity Monitor application and select All Processes from the View menu, if it's not already selected. Select the Memory tab. Click the heading of the Real Mem column in the process table twice to sort the table with the highest value at the top. If you don't see that column, select

View ▹ Columns ▹ Real Memory

from the menu bar.

If one process (excluding "kernel_task") is using much more memory than all the others, that could be an indication of a leak. A better indication would be a process that continually grabs more and more real memory over time without ever releasing it. Here is an example of how it's done.

"Wired" memory should be a small part of the total. That memory is not swapped, but it makes less physical memory available which may then result in swapping. If you have a lot of wired memory, that's usually an indication of a memory leak in a third-party program that modifies the operating system at a low level. Ask for guidance in that case.

If you don't have an obvious memory leak, the options are to install more memory (if possible) or to run fewer programs simultaneously.

The next suggestion is only for users familiar with the shell. For a more precise, but potentially misleading, test, run the following command:

sudo leaks -nocontext -nostacks process | grep total

where process is the name of a process you suspect of leaking memory. Almost every process will leak some memory; the question is how much, and especially how much the leak increases with time. I can’t be more specific. See the leaks(1) man page and the Apple developer documentation for details.

System run out of memory

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