none
Memory Usage vs Memory (private working set)

    Question

  • I m trying to get memory usage value in vb.net for the processes running in a machine.

    Well, I dont see "memory usage" col in Windows 7 instead I see Memory (private working set).

    Are they same except the names are different?

    Thursday, January 13, 2011 9:58 PM

All replies

  • To get a deep dive into what is going on in memory take a look at:

     Windows® Internals, Fifth Edition

     <http://www.microsoft.com/learning/en/us/Book.aspx?ID=12069&locale=en-us>

     

    Working Set is the current size, in bytes, of 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 leaving main memory.

     

    Working Set - Private displays the size of the working set, in bytes, that is use for this process only and not shared nor sharable by other processes.

     

    Bruce


    Bruce Adamczak
    Monday, January 17, 2011 7:05 PM