- Real memory: the amount of physical memory allocated to a process (eg the number of pages)
- Real shared memory: the amount of physical memory shared between multiple processes
- Real private memory: the amount of physical memory not shared with other processes
I would have expected that
real = real_shared + real_private, but this doesn't seem to be the case. I've noticed that real memory can be more or less than shared + private, depending on the process.
Can someone please clarify the differences between these types of memory and why they don't add up?
MacOS Catalina 10.16.6