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.

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

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 7, 2014 12:15 PM in response to Jim Muirhead

I have an 2011 iMac with 20gb of memory. Over the last several weeks, I was having my memory drop into the low single digits. I was using the FipLab Memory cleaner to keep it above 4 or 5 gb constantly. My kernel was about 1.25g, largest, but not too bad. I performed the PRAM reset and I am sitting at 12g now. We will see how this holds, and I will update.

Aug 13, 2014 5:06 PM in response to bdphifer

I was noticing the same problem with my MacBook Pro with Retina display Mid 2012, the kernel_task running at in excess of 600 MB, with over 90 threads. The Mac was sluggish which should not happen as it has the 512 SSD, 8 Gb and was just sucking ram.

I had done a software update on my MBR previously and remembering back, it almost seemed like the problem occurred right after the update.

I did the same software update from the App Store today on my 27" iMac late 2013 (Safari v 7.0.6, iTunes v 11.3.1, Epson Printer Software Update v 2.18, Digital Camera RAW compatibility Update v 5.06, Mactracker v 7.3.3, Artboard v 1.9.4, Memory Diag v 1.0.2, Memory Clean V 4.6. Prior to the update, I had no problems at all with the kernel_task problem on the iMac. I have been using the iMac to compare and try to find the solution for the MBP. Guess what started happening after the update, yup kernel_task problem 686 MB of memory, 91 threads, port 0, PID 0, user root. Memory sucking as well.

No problem before, it was not even visible.

I took a look into System/Library/Extensions/IOPlatformPluginFamily/Contents/PlugIns/ACPI_SMC_Plat formPlugin/Contents as has been mentioned in my search for an answer. I do not find my MBP listed, nor my iMac in that plugin list.

I ran the Apple hardware profile. Initialing I had done it with my MBP unplugged from power and got this error 4SNS/1/40000001:IDOR-0.000, but as others had noted it was because it was only powered with the battery. When i re-ran it plugged in, no error was detected. I even tried the bachmod thing to reset Activity Monitor, nothing.

So is the update responsible for this problem?

Aug 14, 2014 10:35 AM in response to EvilRaat

I've been reading every online forum about this for a couple months now, and I think the answer is that Mavericks is just very temperamental and I think that there's no one solution. I've been systematically and carefully clearing out old prefs and ext, and (I'm embarrassed to admit this) I have migrated from mac to mac from a G3 to a G4 to my last iMac to the current iMac that I bought in March. I am also embarrassed to admit this, but I found a SCSI driver in my system folder. Obviously, I removed it. And YES I should have done a clean install. I know. However, I always end up having to buy a new Mac under duress when I'm on a deadline, and I always TELL MYSELF I'll go back and wipe and do a complete clean install LATER and later never comes. That's how I ended up with a SCSI driver causing me kernel panics in 2014.


That said, my last iMac was a complete POS that I bought cheap from a friend when my G4 bit the dust and it was supposed to be a lot more temporary than it became. I made the choice to get a new macbook before a new desktop, and then I was holding out for a Mac Pro, but I couldn't stand it anymore. I was running Snow Leopard and it had no ram and a hard drive the size of a pea, and I was running Creative Suite on it. BUT I wasn't getting kernel panics, even with that same SCSI driving lurking around.


I think Mavericks is just very temperamental, and it needs a clean install of everything at the time of the OS upgrade. Everyone who solves this problem seems to have a solution specific to their own Mac that always seems to involve outdated prefs, ext, or drivers from outdated peripherals (Palm Pilots and SCSI devices) or software and former OS. I also pulled a bunch of CS3 and CS4 prefs, and I don't know why they were left behind each time I updated my CS package. When I have time after this current deadline, I'm just gonna back up all my files, wipe my hard drive, and do a clean install of everything. And this time, I'm REALLY going to do it.

Aug 14, 2014 1:52 PM in response to cac613

Just to let you know cad613, for reasons of my own, I decided to clean and reinstall on my MBP. It didn't change anything. Initially there was no kernel_task, but as I worked with my Mac to download a few apps it popped up. What is interesting is that there appears to be a lag in resetting the memory. I was doing an online photography course that included using Lightroom 5. On several occasions the instructor noted that his computer was lagging just like mine started to do as of late. This was about 2 weeks ago around the time of the upgrade. I would suspect that we have pinned this as the problem, but it would appear it may not be. Lightroom can be a very intensive app, but my mac would reset itself as it got low in memory but now it doesn't. I need to have an app that will manually clear memory. Do I think that it is Mavericks, yes, but whatever it is seems to be a mystery.

I did the clean and reinstall for the same reason that you stated. When I got the MBP I just did a backup transferred from my last MacBook and there were definitely remnants of stuff that were annoying and did not run properly. Rather then try to find all the crap that comes alone with the apps. which would have consumed copious amounts of time, I just cleaned. But it comes along with other tasks like reinstalling important software.

Sometimes I feel like I am working with the 'other OS'. Just one good thing is that if there is a problem, I am sure it will be found.

Aug 14, 2014 3:58 PM in response to PJ09

I can pretty much guarantee that it's not due to moving from an old mac to a new one. I bought a brand new iMac in April and didn't bring anything over from an old machine. Right now it's running around 1.15GB after doing a fresh restart. Something isn't right...Apple needs to step in and address this.

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.