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

kernel_task high memory usage

Hi, since I upgraded from Lion to Mavericks yesterday, the kernel_task process has been running consistently with 4.7GB of RAM. The OS is now constantly running at full usage of physical RAM and swapping more than 10GB to disc.


I have a MBP Early 2011 with 8GB RAM.


What is the kernel_task process and is there anyway of limiting its drain on my system. As it is, my MBP is pretty much useless as it takes forever to even load a webpage, let alone run servers and IDE's which I need to do.


Hopefully I don't have to revert to my Lion backup, but without a solution to this I'm going to have to.


Hope someone has a pointer for me.


Thanks,

Paul


User uploaded file

User uploaded file

MacBook Pro (17-inch Early 2011), OS X Mavericks (10.9)

Posted on Oct 26, 2013 4:40 PM

Reply
113 replies

Feb 7, 2014 12:12 AM in response to EvilRaat

Hello Guys,

I've just restarted my MBP 2011, 13'' with 8GB Ram, updated from Mountain Lion to Mavericks, and "kernel_task" in few minutes is growing up to 1GB and has activated more then 100 Threads... I think there is something wrong with memory and CPU usage of this new implementation.


Is there any update about this issue or any fix?


Thanks

Feb 7, 2014 6:51 PM in response to navis83

navis83 wrote:


Hello Guys,

I've just restarted my MBP 2011, 13'' with 8GB Ram, updated from Mountain Lion to Mavericks, and "kernel_task" in few minutes is growing up to 1GB and has activated more then 100 Threads

The instances in this thread are for much larger amounts of RAM being used, so if it remains stable, don't worry about it. Because I have similar RAM and thread count stats as you...but my Mac's been running for 10 days. I'd only panic if your 1GB RAM usage quickly rose to something like 4GB.

Feb 12, 2014 8:54 AM in response to EvilRaat

FIXED!


Okay - after months of struggling with this I think I may have fixed it on my iMac. I completely removed from /system/library/extensions all of the kernal extensions for ALL printers (suspecting it was my HP pritner that was causing the issue), all kernal extensions for VM-Ware and Parallels (which I no longer use), as well as uninstalled LogMeIn and Libre Office. Since I did all of this at one time, I'm not sure which one of these is the solution. However, it has now been three days and my iMac has run perfectly!!!


If I were to do it again, I go one at a time starting with VM-Ware and Parallels, then the extensions for printers.

Let me know if this works for any of you.

Feb 20, 2014 7:48 AM in response to EvilRaat

If my experience is anything to go by, a good first troubleshooting step for this might be to go to your System/Library/Extensions folder and remove any .kext files created or modified before Mavericks was released, and certainly from 2012 backwards, then restart your Mac. This solved the problem for me.


After updating my iMac to Mavericks from Mountain Lion, kernel_task started hogging over 3 GB of RAM, though it had no noticeable effect on CPU usage. I did the above and found a set of extensions going back to 2012. They were all ATTO .kexts (ATTOCelerity, ATTOExpress), which I believe are to do with external hard disk drivers. After removing these and restarting, everything was smooth as silk, with kernel-task usage dropping to a little over 700 MB, which is a good bit less than it was using with Mountain Lion. Since then, it's crept up to about 1 GB, but this is still less than I saw in Mountain Lion.


The Mavericks installer found some others and put them in the Incompatible Software folder, but some may slip through, as in this case.

Feb 21, 2014 7:57 AM in response to Pastor Brew Master

Right. The general conclusion from this and other threads on the subject (there are several of them) seems to be that the culprits for this are usually .kexts installed by hardware devices which have outstayed their welcome, but which the Mavericks installer doesn't pick up as incompatible.


The good news is that the remedy is often straightforward once you've identified suspects. However, I guess some care needs to be exercised when removing .kexts, as if you find later that something doesn't work as a result, simply putting them back into the Extensions folder won't necessarily work, as they need to be properly installed. It's also better to uninstall with the proprietary uninstaller rather than simply removing them from the folder, if you can work out where the .kests came from. The problem is that this is often not obvious, as in my case, where finding out would presumably have required going through the tech specs of every hard drive I've ever used. So I just went for it, with no deleterious results so far. But I think I'm right in saying that often devices which need the extensions will reinstall them, and with luck update them in the process. To be on the safe side, checking with the device's website or support might be advisable, though this puts you at the mercy of their willingness to help...

Mar 17, 2014 8:50 AM in response to EvilRaat

Hello guys,

I found this thread trying to solve quite a strange problem on my MBP,

which has become extremely slow after 4 months of non-use.

Meanwhile, I want to thank everyone for the information provided!

Reading your post, I was set on the path of the perfect solution to the problem.

Long story short, I bought a new external disk

where I installed my current system OS X 10.8.5 and then mount it comfortably within the MBP.

Now everything is working!

No slowing down!

Thank you all!

Mar 28, 2014 2:07 PM in response to sheclimber

You may be confusing Library folders. The one you found sounds like the User Library. This is the one the Go menu takes you to. The one you want is the System Library. You have to go to the root level, which you can get to by double-clicking the HD icon on your desktop, go to Macintosh HD (or whatever you've named the HD icon), then to the System folder (marked with the X icon). The Library folder you need is in there, and the Extensions folder is in that, with all the .kext files. Spotlight doesn't show these, which may be why you're not finding them.


Be very careful, though. You need to be hyper-cautious about touching anything in the System folder, as the running of your Mac depends on it. But the Extensions folder must be there, or your Mac wouldn't be working.

kernel_task high memory usage

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