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
sudo /usr/sbin/purge does not make any impact on the used memory.
How can I get
kernel_task to free those unneeded memory?