345362, Some Google Findings for VM Size Posted by Randy_Bell, Sun Jan-16-05 02:11 AM
OK Guys, since there seems to be some confusion about the terms, I Googled to see if I could find a good explanation and came across this one:
---------------------------------------------------------------------- Private Bytes -(Corresponds to the "VM Size" from Task Manager) - Private Bytes is the current number of bytes this process has allocated that cannot be shared with other processes.
Virtual Bytes - (Not shown in Task Manager) Virtual Bytes is the current size in bytes of the virtual address space the process is using. Use of virtual address space does not necessarily imply corresponding use of either disk or main memory pages. Virtual space is finite, and by using too much, the process can limit its ability to load libraries.
Working Set - (Corresponds to the "Mem Usage" from Task Manager) - Working Set is the current number of bytes in the Working Set of this process. The Working Set is the set of memory pages touched recently by the threads in the process. If free memory in the computer is above a threshold, pages are left in the Working Set of a process even if they are not in use. When free memory falls below a threshold, pages are trimmed from Working Sets. If they are needed they will then be soft-faulted back into the Working Set before they leave main memory. ----------------------------------------------------------------------
That was my understanding also, as someone from another forum once explained to me: -- The amount of RAM in the "Mem Usage" figure is the currently allocated pages, not all of which are in use, and some of which can be reallocated if necessary. Whereas the "VM Size" is, as stated above, "the current number of bytes the process has allocated that cannot be shared with other processes."
Thus "VM Size" is memory that is dedicated to that process and cannot be reallocated or shared with any other process. "VM Size" therefore more accurately reflects the amount of memory taken up exclusively by that process.
Hope that helps; y'all can Google for info yourselves if still curious.
:-) :clap: :evilgrin: :lol: :)
|