sierra security update 2019-004 application memory

I'm running 10.12.6 on a MBP Mid-2015 15". A few days ago, I installed the security update 2019-004. Since then, my computer has started pausing all my open applications, and eventually crashing. I get a message that it has run out of application memory. I have a lot of applications open, including several windows and tabs in Firefox. But I have had several applications and windows open before this update and it's never been a problem. I've seen there was a problem with this update having to do with waking the computer after sleep, but this happens just in the middle of working and doesn't seem to be related to my computer sleeping. Has anyone else experienced this or know of a solution?


Thanks.

MacBook Pro Retina

Posted on Aug 28, 2019 3:00 PM

Reply
Question marked as Top-ranking reply

Posted on Aug 28, 2019 5:06 PM

When rebooting the computer uncheck the "Reopen apps" from the shutdown dialog.


Try booting into Safe Mode to see if the same problem exists. It loads minimal drivers, disables Startup & Login items, deletes some temp & cache files as well as running a file system check. The display may flash or flicker due to the very basic video drivers used in Safe Mode. If Safe Mode works, then try rebooting normally.


If you still have problems, then run EtreCheck and post the report here using the "Additional Text" icon which looks like a piece of paper.


3 replies
Question marked as Top-ranking reply

Aug 28, 2019 5:06 PM in response to mlkimmel

When rebooting the computer uncheck the "Reopen apps" from the shutdown dialog.


Try booting into Safe Mode to see if the same problem exists. It loads minimal drivers, disables Startup & Login items, deletes some temp & cache files as well as running a file system check. The display may flash or flicker due to the very basic video drivers used in Safe Mode. If Safe Mode works, then try rebooting normally.


If you still have problems, then run EtreCheck and post the report here using the "Additional Text" icon which looks like a piece of paper.


Aug 28, 2019 6:26 PM in response to mlkimmel

I get a message that it has run out of application memory.

There are 2 reasons for getting this message:


  1. Your boot disk has run out of storage and can no longer create page/swap files to off-load memory. While not impossible, this is generally the lest likely reason.
  2. You have an application (or several applications) that are asking for so much virtual memory that the kernel cannot create any more page table entries to map the virtual addresses. Effectively the kernel has reached a point where it would use up most of memory with virtual memory page tables and there would be nothing left for the applications to use. This is the more common cause, and it is generally because an application has lost track of the fact that it keeps asking the operating system for more virtual memory, uses and then does not give the virtual memory address space back.


Unless you know your boot disk is full, then in an Applications -> Utilities -> Terminal session issue the following command

ps axo vsz,comm | sort -n

This will show the virtual memory (in kilobytes) for every process sorted with the worst offenders last.


This is only useful if the offending programs are still running. For example when you start to notice that your system is getting slow and your apps start to have issues.

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.

sierra security update 2019-004 application memory

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