I am a web developer, and sometimes I encounter software bugs that has runaway threads or used up available memory in a browser process. Terminating the offending Chrome process will free up the memory usage, but kernel_task still use up a huge chunk of memory

kernel_task memory usage

Running sudo /usr/sbin/purge does not make any impact on the used memory.

How can I get kernel_task to free those unneeded memory?

  • Please edit your question to indicate the version of macOS you are running, and on which particular flavor of Macintosh.
    – IconDaemon
    Apr 5, 2018 at 13:55
  • 2
    If you change your view to All Processes, Hierarchally, you should be able to see more information. Please post a screenshot. It looks like you have several Firefox Nightly Web Content that could be contributing. Apr 5, 2018 at 17:29
  • Also check out this question apple.stackexchange.com/questions/178281/… and see if the answer can help you investigate the source. Apr 5, 2018 at 17:31

1 Answer 1


try: sync && sudo purge

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .