You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

I upgraded to Mavericks from Mountain Lion, and I have been getting the error message "Your System has Run out of Application memory", and I am forced to restart the computer to be able to keep working.


I have been monitoring the Activity Monitor and I have not found a process that is increasing the amount of memory used. I have seen a proliferation of processes.


I have an iMac 27-inch, Late 2012 with a 3.4 GHz Intel Core i7 and 24 GB 1600 MHz DDR3.

iMac, OS X Mavericks (10.9), 27-inch Late 2012; 3.4 GHz i7; 24GB

Posted on Oct 23, 2013 7:33 PM

Reply
371 replies

Nov 12, 2013 11:11 AM in response to REPG

Upon launching activity monitor I saw that kernel_task was eating up 4GB+ of memory. I restarted and now it's down to 740-745mb of memory. I found this on CNET: http://reviews.cnet.com/8301-13727_7-20091848-263/kernel-task-taking-up-ram-in-o s-x/. If I am reading the article correclty, and assuming the issue described therein is the problem I'm facing, other than restarting there is nothing I can do to fix the problem. Right?

Nov 12, 2013 11:24 AM in response to poppalocs

poppalocs wrote:


Upon launching activity monitor I saw that kernel_task was eating up 4GB+ of memory. I restarted and now it's down to 740-745mb of memory. I found this on CNET: http://reviews.cnet.com/8301-13727_7-20091848-263/kernel-task-taking-up-ram-in-o s-x/. If I am reading the article correclty, and assuming the issue described therein is the problem I'm facing, other than restarting there is nothing I can do to fix the problem. Right?

NO! That article is 2 years old, 10.9 redesigned the OS's RAM handling system.


You need to stop worrying about what RAM the kernel uses - it is the overseer of the ENTIRE OS - cut it some slack. If the OS uses all the RAM it will run faster, it is a good thing. Free RAM is a waste of resources.


I can give you a command that will illustrate well 10.9 handles RAM, it does no harm & is built in, once you see how the Memory Pressure, the Virtual Memory & Compressed RAM change you should be able to see when your OS is 'under too much strain'.


I suspect you may be having other issues, however we have no feedback about what they might be beyond your guesses that 'it's the RAM'.


What do you want to do ?


  • See the RAM under load?
  • Address the issues that you haven't told us about

Nov 13, 2013 9:23 AM in response to Drew Reece

Drew, you can continue your full-throated defense of the almighty kernel and it's use of insane amounts of RAM to handle who knows what 3rd party add-on, app, software, whatever. You may not suspect the OS, but seeing how many of us posters first encountered this issue after upgrading to Mavericks, well, that's my first suspect.


I suppose all of us posters are using the same "bad" whatever (add-on, software, etc.) that is causing the kernal to work so hard, I dunno. What I do know is that I was forced to restart my machine because everything I was using stopped responding and the OS gave me the Your System has Run out of Application memory message, which I resolved by restarting my machine. Of course, that was after I went looking for clues in the activity monitor and saw the kernel eating up 4GB+ or RAM. Since the restart, kernel use of RAM has dropped to 750mb or so. Oh, and there has been no change in the software, apps I was using pre-restart.


As I previously wrote, I'm hoping it's a freak occurence that doesn't happen again. If it does, I'll look again in the forums to see if anyone has identified the source of the kernel's need to use so much RAM; or maybe the OS will do us all a favor and proactivley identify the source of its need to work so hard.

Nov 13, 2013 9:42 AM in response to REPG

Those who are implying in this thread that users have done something wrong (like installed 3rd party software) to cause apple Mail apps to eat all of RAM seem to be misunderstanding the core problem here. There is a serious bug in apple Mail or some of the API's that it uses on Mavericks. It's affecting probably thousands of users. This is just one of many threads on the net about the bug. I know that apple is actively working on a solution.


Drew, I know exactly how virtual memory works and how the kernel is supposed to use ram. It's not appropriate for the kernel to start eating about 500k a second until all actual ram (I have 16 gig) is used and then all free hard disk space is used for swap (I have about 30 gig free.) At that point all of your apps are swapped out and the system is hung hard since the window manager is paged out. Also, Mail seems to relaunch itself often and apple has some mail related background tasks that will run and do that same thing. I'm rebooting my mac from hangs 2 or 3 times daily and I have to force quit Mail as it will launch on it's own every few hours. I've moved com.apple.MailServiceAgent to the desktop so that won't run in the background. Meanwhile I'm struggling to handle all of my personal and job related mail across multiple accounts in various web mail clients (that all suck) without any smart folders, mail folders or rules that I've set up over 15 years to manage my volume of mail.


Those of us who've been unable to run mail on our machines for two weeks know very well that we didn't do anything wrong other than maybe upgrade before apple had worked out all the issues. Or maybe I'm just a bad person and I deserve what I get.

Nov 13, 2013 9:52 AM in response to AlexPower1

I don't doubt there are bugs in Mail and across the OS.

Can you reproduce them in safe mode?


10.9 is the first generation so it is bound to have memory issues, especially since it has new ways to handle that memory, all early OS X releases did have memory bugs. I just think the best course of action is to look at what is running & see if some of it can be removed or updated.


Running a StartupItem designed for 10.4 can't make for a stable 10.9 system can it? How about kernel level USB drivers from 2010?


It is Migration Assistant that brings all this crap over, so yes it probably is Mavericks fault, indirectly through the old software.


Take a look at your own EtreCheck report & see if you have any old kernel extensions or startupitems or failed launchd jobs. It seems more proactive than hoping for an Apple fix. Isn't it possible you have a background job or internet plugin that is causing memory to leak somewhere?


This is why safe mode is critical to debugging, it disables the third party software. Please try to reproduce the issue in safe mode.

Nov 13, 2013 11:09 AM in response to REPG

Sorry, I should have made it clear: I get the same behavior in safe mode. It much more likely that this is a problem is related to Mavericks' handling of my mail account on the server. I've tried turning off my google account and other lesser accounts and it still happens with only my iClound account. I have not tried running mail with no internet connection but my guess is that it might be functional (but useless of course.)


The problem may be related to the fact that I opened the .mac account on the day that Steve jobs announced the service so there are a lot of mail messages up there. However, all previous systems handled this issue without any hickups as does iOS and the iCloud web interface.


I think apple needs a better test suite for Mail. They need to catch this stuff before it goes out the door.

Nov 18, 2013 5:02 PM in response to AlexPower1

I apologize but I did not have the time to read through the entire thread. Just want to throw my hat in the arena and say that there is indeed something wrong with 10.9. I have 16GB of RAM and running Aperture 3.5.1 earns me the dreaded out of application memory problem. 16GB of memory chewed up by the kernel and Aperture! Seriously, Apple??!!


We had the same crap happen with Aperture 3.something with one of the Lions. It took months for Apple to acknowledge the problem (and even longer for the fanboys to get over it .....)


Not to mention that the "fixed" multi-display mode broke a number of other applications and changed my workflow.


I hope it gets fixed faster this time around. On the other hand, I shouldn't be whining. Nobody put a gun to my head to abandon a stable, working version for the latest and greatest, even if I thought I QA tested it thoroughly ....


One more thing: as soon as I kill Aperture 3.5.1, the kernel size drops from huge to 1.5 GB (which is still too much, if you ask me). Since others are experiencing the same problems using other Apple apps, it seems logical that the problem is in a component that all of them use or rely on.


Message was edited by: sorinfromtoronto

Nov 18, 2013 7:45 PM in response to REPG

AddressBookSourceSync is a runaway application in Maverick OS...... see below for how I resolved the issue.


The computer boots up fine and starts to work ok. After some time (2-3 hours or less), it starts to become very unresponsive with delayed input. If you look at the Activity Monitor, a process called AddressBookSourceSync is taking up all upwards of 12GB of application memory or more. It eventually causes you to restart your system due to an "Application Memory is Insufficient" message.

Looking online, I found out that the Address Book or Contacts now uses CardDAV instead of the previous structure. As such, the OS needs to perform a conversion on the address data. Occasionally, the conversion does not properly sync with a record. This causes the AddressBookSourceSync process to become a runaway application. I used the following to resolve this problem in Maverick. It was taken from a similar issue involving the Lion OS:

- Export all contacts to a vCard file for safe keeping.

- Delete ~/Library --> Application Support --> Address Book.

- Reboot.

- Open System Preferences --> iCloud. Enable Contact Syncing.

- Click on Merge Data.

This caused my system to sync correctly. All of my contacts appeared in the Contacts list, and I am not seeing the AddressBookSourceSync top out at 12GB of application memory at this current time.

Nov 22, 2013 6:48 PM in response to AlexPower1

Yeah Buddy, I hardly have anything installed because the Apple store wiped my drive and installed OS10.8.They had just rebuilt my laptop for the fixed fee. My list in the Applications folder below are all Apple software,

NONE ARE THIRD PARTY

App Store

Automator

Calculator

Calendar

Chess

Contacts

Dashboard

Dictionary

DVD Player

FaceTime

Font Book

Game Center

GarageBand

Google Chrome

iBooks

iDVD

Image Capture

iMovie

iPhoto

iTunes

iWeb

Launchpad

Mail

Maps

Messages

Mission Control

Notes

Photo Booth

Preview

QuickTime Player

Reminders

Safari

Stickies

System Preferences

TextEdit

Time Machine

Utilities

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 Account.