MacOS – Insanely high kernel RAM usage (over 9GB) in Mavericks

kernelmacosmemory

I upgraded to Mavericks yesterday, and everything seemed to go fine, but today I noticed that my computer was becoming a bit slow. I checked Activity Monitor, and CPU / disk were at normal levels so I checked memory use, only to find this:

enter image description here

The kernel is taking over 5 GB of memory? Surely this is not normal? The machine has 16 GB of RAM. Any ideas on what would cause this and/or how to debug?

Update: it's now at 9 GB.

enter image description here

Best Answer

A reboot seems to clear my system that experiences similar RAM allocation for the kernel, but it will climb up again over time. I have chatted with Apple support and they suggested an SMC reset, which I did along with a PRAM reset and so far, it seems to be under control. It's hovered just under 1GB as I've been working, and watched it dip down a couple of times when some apps were idle.

Long term, resetting SMC & PRAM didn't affect the memory allocation and I've tracked the insane memory usage to the "installd" process.

Open Activity Monitor and FORCE QUIT that process and watch the kernel usage drop down to normal levels. Unfortunately, you have to do this after every startup as it appears to be leaking memory on builds lower than 10.9.1 and 13B42.