Free up unused memory from kernel_task

kernelmemorymemory pressureperformance

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?

Best Answer

try: sync && sudo purge