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
Question marked as Top-ranking reply

Posted on Feb 20, 2014 7:48 AM

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.

113 replies

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.

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!

Jul 2, 2014 9:36 PM in response to 444zim444

i tried this, but all it does is drag a copy to the desktop - the original folder remains with all it's contents - tried to delete it but it says it cannot because it needs them - to be honest since mavericks came out using my macs has become an absolute misery, but if there is another solution i could try before throwing it out the window i might give it a go - at the moment these problems are costing me hours every day

Jul 22, 2014 1:44 PM in response to cac613

Please disregard my above solution. It did help, but it did not permanently solve the problem. I bought another 1 TB HD to use for Photoshop scratch. I discovered that my USB hub was causing a huge memory spike, so I disconnected it. I also reverted to my Apple mouse, and disconnected my wireless mouse. All of this helped, but I'm still running really hot and I don't know why. I reinstalled Mavericks, have run disk diagnostics, have trashed preferences, have started in safe mode, and I have removed all of my nonessential USB peripherals. I am now using an Apple keyboard and mouse. I cannot figure this out. I did purchase a 2 TB internal hard drive, but I'm in the middle of a work deadline, and I don't have time to install it. Considering it's a RAM issue more than a hard drive issue, I don't think that will solve the problem anyway (although I did need to upgrade my hard drive, anyway).


I just bought a new iMac in March, and prior to that I was using a really older model (I was holding out for a Mac Pro desktop, but had to bite the bullet and upgrade before I had the money to buy a Mac Pro), and I running Snow Leopard with half as much RAM and half the hard disk capacity. I use Adobe CS, and even though it was it was somewhat slow, I could still have Photoshop, Illustrator, InDesign, and Firefox open simultaneously. I now have twice as much RAM, twice the hard disk capacity, and an external 1 TB drive that I'm using for Photoshop scratch, and I'm having kernel panics.


Something is amiss. It's not a USB peripheral, and I don't think it's a system extension, but I could be wrong.

Aug 14, 2014 4:18 PM in response to CWSites

That actually makes me feel a little better, although I'm sorry the problem isn't solved. I was a little sheepish about admitting that I had carried a SCSI driver across two decades, but I thought for sure that the transfer of old stuff was the problem, but now at least I know I'm still screwed even if I do a complete wipe and reinstall of everything. 😐


Yes, Apple needs to figure this one out, because it is very annoying.


CWSites, thank you for the link.

Mar 13, 2015 4:14 AM in response to EvilRaat

Hi everybody,

I have same problem on both imacs i use (iMac9,1 and iMac10,1). Both updated from Maveriks to Yosemite some months ago and since last 2 weeks kernel_task "eat" to much RAM.

I tried to solve with all kind of resets, move files from ACPI_SMC _PlatformPlugin.kext, hardware test, reinstall and restore from time machine and finaly also with a complete clean reinstall (without TM restore!). But kernel_task run with too much RAM usage.

I feel frustrated and I seem to be back like Windows users!

So, i think problem could be associated to some software upgrade (DropBox? Skype? Osx update? don't know). Anyone knows if there are usefull debugs system log for kernel_task usage?

Thank you!

Mar 13, 2015 5:04 AM in response to r.euben

Thank you very much for your response.

Do you know the Mountain Lion version for this trick? I cannot use Maveriks because it doesn't work with some essential software I use. I saw this method in another thread:


1. Go to About this mac under the apple in the upper left and click on More info

2. Click on system report

3. make a note of what it says after Model Identifier

4. go to your master drive – System -Library – Extensions – IOPlatformPluginFamily.kext -Contents – Plugins – ACPI_SMC_PlatformPlugin.kext – Contents – Resources – find the name from step 3 and move it to a folder that you can find again if needed.

3. Restart and you’re done

But my MacBookPro 9,2 is not listed in the stated folder (System -Library – Extensions – IOPlatformPluginFamily.kext -Contents – Plugins – ACPI_SMC_PlatformPlugin.kext – Contents – Resources )


Thank you very much!

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.

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