What exactly does Activity Monitor's Memory column mean?
How come in the example situation below (from a macOS High Sierra system) the Real Mem column is greater than the Memory column?
According to a previous question How is the "Memory" column calculated in Activity Monitor?, one might expect that Real Mem should always be less than or equal to Memory, which apparently is not always true.
Edit:
This behavior is not only applicable for the kernel task but also to other processes. For example, in the screenshot below we see a couple Google Chrome Helpers experiencing the same behavior, where Real Mem > Memory. The same can be seen with Dock, Notes, Spotlight, Facetime.
Best Answer
The kernel is special - it's the micro system that actually allocates memory and runs the virtual memory. You can just assume 3.60 GB is what your kernel has claimed and that 1.86 GB of that corresponds to what the task itself needs and the rest is the overhead / allocations to support all the demands made on the Mach kernel.
Every other line in Activity monitor behaves as one might expect, adding up fairly clearly once you ignore the kernel numbers:
For a larger discussion of the kernel_task, this question has some great links and discussion of how
kernel_task
is so very different than the rest of the processes you see on macOS.