“Memory Usage” and “Virtual memory size” in taskmgr

memorytask-manager

I read: What do the Task Manager memory columns mean?. But I still don't understand what they say.

  • Is Working Set (Mem) exactly a size of process memory on RAM?
  • Is Paged Pool (VirtMem) exactly a size of process memory on swap file?
  • Is total process memory (address space usage) equal to sum of Mem and VirtMem?

Some info available at Wikipedia's Windows Task Manager page.

Task Manager


Seems that Task Manager is right tools to get info about amount of RAM pages owned by process (e.g. discard kernel and driver pages) and how many pages are swapped to disk. But I don't understand which column can show these values.

Best Answer

It's not clear what you're asking. You ask about "total process memory" as if that were a well-defined term. It's really not. The types of memory measurements that seem natural to people who don't have a deep understanding of memory management basically don't exist on modern systems.

A more useful way to do this is for you to tell us what it is you are trying to figure out. We can tell you how to do that. People tend to say things like "I need to know how much memory a process is using", but that's largely meaningless. It's like asking how much space a person is using. Well, they share the bathrooms, should that count? And they have some stuff stored in the garage, but only because nobody is using it and they could throw that stuff away if anyone needed the space, should that count?

There's really no substitute for studying in some level of detail how modern operating systems manage memory, the distinction between physical and virtual memory, clean versus dirty pages, and so on. That way, you can make sense of the numbers the system actually can provide you.

Related Question