Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

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

kernel_task consumes a lot of RAM in early 2011 MBP, sometimes Finder too

Hi,

My old MBP3,1 (late 2007, 2.4 GHz Core 2 Duo) worked quite well with 4 GB of RAM, even after weeks without restarting. In fact, I used all available RAM only on some larger analyses using R, which loads the entire dataset in memory. To be able to run these few analyses faster on my new machine (early 2011 MBP), I bought the 8 GB RAM option.

In Activity Monitor, I noticed something strange. Whereas my old MBP shows kernel_taks as using between 100 and 200 MB of RAM, the new MBP uses about 550 MB just after the machine started up and often shows over 600 after a few hours or days of use. A one year old iMac, again Core 2 Duo with 4 GB of RAM, gives a kernel_task memory usage below 200 MB after weeks of use.

I've not been able to find what kernel_task does. Is this amount (around 600 MB, but it has gone up to 800) normal? Is it managiing the additional number of cores that requires this behind the scenes amount of RAM?

Anyway, I now quite often have more than 4 GB of RAM in use even when I have only a few applications running (not even including R!), which surprises me.

Also today, after moving a lot of files back and forth between an external drive and the new MBP, after emptying the garbage can that contained a hefty number of files and doing a first Time Machine backup, the Finder ended up using 2,4 GB of RAM according to Activity Monitor. I have never seen anything like this (although I admit not having Activity Monitor on all the time). Even after the backup was finished and the external drive disconnected (in fact the machine was left idling for a few hours) cpu usage was down to nearly zero, the Finder kept its 2.4 GB of RAM. I restarted and the new RAM usage for the Finder was 26 MB. I have a screen shot showing the 2.4 GB, but I could not find a way to attach it to this message. I can send it by email on request. I don't think this Finder behavior was normal.

Somewhat worried,

Denis

MacBook Pro 2.2 GHz i7, 8 GB RAM, Mac OS X (10.6.6)

Posted on Mar 16, 2011 12:04 AM

Reply
216 replies

Apr 1, 2013 7:56 PM in response to DChabot

I admit i did not read the whole thread. Just wanted to add that my kernel_task is not using a lot of cpu but starts up with 1 gb real memory used on my mba with 8 gb. by mid day it gets to 3 gb. something is not right. I had not noticed ths until recently. I add some stuff recently like started using time machine and chenged my mind and disabled it, installed parrellels 8 and a few other apps from macupdate bundle and alfred 2. Something that time frame is making this get out of hand. I need my memory back

Apr 15, 2013 2:08 PM in response to DChabot

I was going to say that this probably has something to do with the video card, because you need to share memory in order to use the two GPUs (and even one actually; some system RAM is still often used as a backup). But then I'm surprised to see people to mention the same problem on MacBook Air's.


On my MBA (Core 2 Duo) it's behaving ok: it doesn't overuse inactive memory and kernel task uses a reasonable amount of memory (I don't have to complain anyway, it's got an SSD and in general running pretty fast).

.User uploaded file

On my MBP at work however, kernel_task is constantly using around 800~1200 Meg, and 3~4 Gig of inactive memory even though I have only 8 Gigs of RAM. Sometimes it's fine, and you can see that this allocated memory is used wisely, but sometimes the system is like completely lost and it's close to unusable (sometimes you may even be better issuing a purge than waiting for it to fix itself). I'm interested by the reason for this huge difference.

Apr 18, 2013 12:20 AM in response to edgarperez

edgarperez wrote:


I admit i did not read the whole thread. Just wanted to add that my kernel_task is not using a lot of cpu but starts up with 1 gb real memory used on my mba with 8 gb. by mid day it gets to 3 gb. something is not right. I had not noticed ths until recently. I add some stuff recently like started using time machine and chenged my mind and disabled it, installed parrellels 8 and a few other apps from macupdate bundle and alfred 2. Something that time frame is making this get out of hand. I need my memory back


this made me think: I also happen to have Alfred (though 1.4).

Maybe this could be related to some third party extension, or driver?


I've installed quite a few: KeyRemap4MacBook, BetterTouchTool, MagicPrefs, Alfred, Dropbox, Evernote, TotalTerminal, TotalFinder, TotalSpaces.


I've noticed that Dropbox ***** a lot of CPU, hence I almost always keep it in suspended state.


I'm also using an external monitor connected through mini dp -> DVI adapter.


Which are the ones that you use? If we list our 3rd party extensions, maybe we could find something in common to everyone who is experiencing the problem...

Apr 19, 2013 6:35 AM in response to mpanta

mpanta, not sure if there is an easy way to do this and I don't remeber all i have installed but am using alfred2, dropbox, better touch tools, palua, google drive, xtrafinder, istatmenus, mac update, installed time machine but turned it off though I turned it but still looks like it might be doing something becasue it is showing status of backup as delayed, vpn, imessage, xmarks for safari, apptrap, lastpass, evernote, belkin router helper



I know when i start it in safe mode, the kernel is only about 300mb

May 31, 2013 6:57 AM in response to DChabot

I have a mid 2012 MBP with 8GB ram and it uses almost one GB for kernel task it is normal but if you feel worried about it you can type purge in termal it will free up unused ram in all running processes and is safe. lastly it could be bad coding in some apps try updating all your apps and mac os if you see any available updates.

Aug 1, 2013 11:54 PM in response to iAstroboy

iAstroboy wrote:


Mac Pro 2008 8gb Kernel_task was consuming 1.7gb total memory used was 5.23gb , I just install app Memory Booster Ram Optimizer is a fee app love it App Store . Drop memory use to 2.76gb total free memory 5.11gb.


My macbook 2008 runs faster with this app , try it.



Memory Booster Ram Optimizer


=)



Been there, done that, didn't find it useful at all. The exact same thing can be done with one Terminal command, instead of having yet another app running.


More info here:

http://thetechreviewer.com/software/memory-booster-ram-optimizer-mac-app-review/

Sep 3, 2013 6:34 AM in response to DChabot

Not sure if my fix will apply to anyone else, but I'd been having this exact problem for some time.... kernel task sucking up massive amounts of memory and dragging performance down. Accidentally discovered it was my own darn fault. I run a MacBook Pro with dual monitors and an external keyboard. The actual laptop sits off to the side and I use the external keyboard and monitor as my primary workspace. At some point, I purchased a large Wacom tablet. When not in use, I had been sitting it on top of the MacBook Pro's keyboard and trackpad thinking it was a convenience place. What I didn't realize is that this was causing the MBP to run hot. Apparently it "breathes" to a certain extent through the keyboard surface.


I have tested this extensively - block the keyboard on the MBP, wait five minutes and the kernal task spikes. Unblock the keyboard, wait five minutes and the kernel task goes idle again.


So for those of you still fighting this problem, consider that your machine may be overheating due to external factors such as blocked fans, junk stacked on top, boxed in by books, sun hitting it through a window etc. Find a way to cool it down and the problem may simply go away.

Oct 23, 2013 10:34 AM in response to DChabot

I can confirm what some of the users are saying about ram automatically being alocated to kernel task. I tried a little experiment, opened safari and kept opening new tabs (so its memory usage would go up) and as I was doing this kernel task would then start reducing its memory usage. So to sum it up, if kernel task is using 500 mb of ram then chances are you have just over 500 mb of free memory, if it uses 300 mb then you have just over 300 mb of free memory. technically this memory is not free, because it is being used by kernel task but theoretically it is free because kernel task does not depend on that memory.

kernel_task consumes a lot of RAM in early 2011 MBP, sometimes Finder too

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