3 ms·
So, going to sound like an Apple apologist here, but a couple of times I tried to track memory usage on my Mac and it didn’t make sense. I looked up some articl
by subjectsigma 2y ago
So, going to sound like an Apple apologist here, but a couple of times I tried to track memory usage on my Mac and it didn’t make sense. I looked up some articles about why processes seemed to be using massive amounts of RAM and others seemed to be reporting extremely small usages. The articles said basically that macOS RAM usage is hard to measure because Activity Monitor basically reports what the process thinks it has, not what is actually allocated. I can’t seem to find the article again so take this with a grain of salt I could just be yapping
- kayodelycaon 2y agoThe article is correct. It’s the amount of ram the program asked for (virtual memory I think) The kernel has reserved address space but has not used ram until the program accesses it. There is a separate metric for ram actually in use by a program. But that number isn’t an ideal “ram used” because it doesn’t account for compression or swap. Linux is basically the same.