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.

Question regarding kernel_task

Hello, I have a total of 4 GB RAM on my Macbook Pro, and I'm running the latest OS X version 10.8.3. I noticed that my kernel_task process consumes around 1GB real memory, resulting in RAM being maxed out when I'm running only a few other common applications such as Safari, Mail, Word, PowerPoint, etc. Is that normal? Does the kernel_task application typically use such a large RAM space?

MacBook Pro, OS X Mountain Lion (10.8.3)

Posted on May 27, 2013 2:03 PM

Reply
10 replies

May 27, 2013 2:16 PM in response to mende1

As I read that article I don't think it applies to the OP's statement. The article appears to be a possible fix for an out of control kernel_task that consumes large amounts of CPU time as opposed to the OP's statement that it is using a lot of memory. This is not really a problem that the article will fix. I'm not sure it even is a problem. Most users reporting information about the size of the kernel_task seem to have numbers around 1 GB, more or less, in Mountain Lion. Mine is just under 1 GB. I run mostly the same applications as the OP.


I think the OP's problem is he's running too many applications concurrently, and is too low on memory for the number of concurrent tasks. He may just need more RAM. My computer has 12 GBs of RAM. I have turned off the dynamic pager, yet I have more than enough free memory. However, this machine would choke if it only had 4 GBs of RAM.

May 27, 2013 5:09 PM in response to SanC83

Your problem is excessive swapping of data between physical memory and virtual memory.


That can happen for two reasons:


  • You have a long-running process with a memory leak (i.e., a bug), or
  • You don't have enough memory installed for your usage pattern.


Tracking down a memory leak can be difficult, and it may come down to a process of elimination.


In the Activity Monitor application, select All Processes from the menu in the toolbar, if not already selected. Click the heading of the Real Mem column in the process table twice to sort the table with the highest value at the top. If you don't see that column, select

View ▹ Columns ▹ Real Memory

from the menu bar.

If one process (excluding "kernel_task") is using much more memory than all the others, that could be an indication of a leak. A better indication would be a process that continually grabs more and more real memory over time without ever releasing it. Here is an example of how it's done.


The process named "Safari Web Content" renders web pages for Safari and other applications. It uses a lot of memory and may leak if certain Safari extensions or third-party web plugins are installed. Consider it a prime suspect.

If you don't have an obvious memory leak, your options are to install more memory (if possible) or to run fewer programs simultaneously.

The next suggestion is only for users familiar with the shell. For a more precise, but potentially misleading, test, run the following command:

sudo leaks -nocontext -nostacks process | grep total

where process is the name of a process you suspect of leaking memory. Almost every process will leak some memory; the question is how much, and especially how much the leak increases with time. I can’t be more specific. See the leaks(1) man page and the Apple developer documentation for details.

Apr 3, 2014 7:57 PM in response to SanC83

Use this at your own risk. It worked for me.


Basic Procedure:

1- Click in the apple logo on the upleft corner, select "About This Mac".

2- Click in "More Info".

3- Click in "System Report".

4- Take note of "Model Identifier".

5- Create a new folder called "Recovery_Kernel_Task".

6- Select Macintosh HD/System/Library/Extensions/IOPlatformPluginFamily.kext

7- Click the mouse right button at that file and select "Show Package Contents"

8- Open the folder Contents/Resources.

9- Look for the Model Identifier in step 4.

10- Move the file to the folder you've created, if you need to restore the file.

11- Check the folder in step 8 has 49 files instead of 50 (original files).

12- Restart the computer and be happy!

Question regarding kernel_task

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