Manage iPod Opera Tips and Tricks Smart Bookmarks in Firefox 3 Test Your Tech Knowledge Windows Explorer Groups and Stacks in Vista
Collapsed Today Collapsed CyberNotes
Collapsed Yesterday

CyberNotes: Windows Memory Usage Explained

November 20th, 2007
4 Comments Written by Ryan

CyberNotes
Time Saving Tuesday


Process Explorer is a popular application put out by Microsoft that provides many more details regarding running processes than the standard Task Manager. It has a lot more control over how the processes are organized, and it has won the hearts of many power users out there.

We’ve already shown you how to replace the Task Manager with Process Explorer, and now we want to answer a highly asked question of our readers: how do you display memory usage in Process Explorer? By default Process Explorer doesn’t show any memory usage information, but before we get into that we need to clarify what the two main types of memory usage are.

Process Explorer Memory

–Types of Memory Usage–

There are two main types of memory usage: working set and private working set. The private working set is the amount of memory used by a process that cannot be shared among other processes, while working set includes the memory shared by other processes.

That may sound confusing, so let’s try to simplify it a bit. Lets pretend that there are two kids who are coloring, and both of the kids have 5 of their own crayons. They decide to share some of their crayons so that they have more colors to choose from. When each child is asked how many crayons they used, both of them said they used 7 crayons, because they each shared 2 of their crayons.

The point of that metaphor is that one might assume that there were a total of 14 crayons if they didn’t know that the two kids were sharing, but in reality there were only 10 crayons available. Here is the rundown:

  • Working Set: This includes all of the shared crayons, so the total would be 14.
  • Private Working Set: This includes only the crayons that each child owns, and doesn’t reflect how many were actually used in each picture. The total is therefore 10.

This is a really good comparison to how memory is measured. Many applications reuse code that you already have on your system, because in the end it helps reduce the overall memory consumption. If you are viewing the working set memory usage you might get confused because all of your running processes might actually add up to more than the amount of RAM you have installed, which is the same problem we had with the crayon metaphor above. Naturally the working set will always be larger than the private working set.

–Windows Task Manager–

In Windows Vista you can customize which type of memory usage is shown in the Task Manager (Shift+Ctrl+Esc), which by default shows the private working set memory usage. To change this you can go to View -> Select Columns, and then tick what you want to display: Memory - Working Set and/or Memory - Private Working Set.

Task Manager Columns 

–Process Explorer–

Process Explorer, which can be setup to replace the Task Manager, doesn’t show any memory usage stats by default. They can be enabled by going to View -> Select Columns -> Process Memory, and then ticking Working Set Size and/or WS Private Bytes. The WS Private Bytes is what the Windows Task Manager uses by default in Vista, and it’s what you’ll want to use if you want it to show similar stats.

Process Explorer Columns

RSS Icon This is just one of the hundreds of CyberNotes we have done. You can find more of them by visiting our CyberNotes category, or by subscribing to our CyberNotes feed. We also have a full feed available if you want to receive all of our articles in your reader!

Tags: CyberNotes, Software, Windows, , , ,

Previous ArticleNext Article
 

Related Posts:


4 Unread Comment Tracking CyberMark This Article
RSS Icon
4

  1. Avatar

    How do these two types of memory use compare to the “Mem Usage” value visible in the Windows 2000/2003 Task Manager?

  2. Avatar

    Nice article.
    @Bruce>I know “mem usage” sidebar gadgets in Vista get the private working one, like task manager does as mentionned above. I suppose it’s the same in w2000?
    Usefull to have the choice to diplay both in process explorer (I like it).

  3. Avatar

    Yes very nice article. I’ve always been using the ‘Working Set Size’ and ‘Peak Working Set Size’ in Process Explorer, now I know better. But it’s unfortunate that there is no private peak working set option, unless I’m overlooking it.

  4. Avatar
    Bruce wrote:
    How do these two types of memory use compare to the “Mem Usage” value visible in the Windows 2000/2003 Task Manager?

    If I remember correctly it is just using the working set, not the private working set. You could verify this by downloading the Process Explorer and displaying both, and then matching it up to the values in the Task Manager. That’s pretty simple to do considering you don’t have to install Process Explorer.

    Ian Cammarata wrote:
    Yes very nice article. I’ve always been using the ‘Working Set Size’ and ‘Peak Working Set Size’ in Process Explorer, now I know better. But it’s unfortunate that there is no private peak working set option, unless I’m overlooking it.

    No, unfortunately there is no peak monitoring for the private working set. I was a bit bummed by that as well.

:mrgreen: :| :twisted: :arrow: 8O :) :? 8) :evil: :D :idea: :oops: :P :roll: ;) :cry: :o :lol: :x :( :!: :?:

Note: All links posted in comments will automatically be hyperlinked.

↓ Expand Text Area  or  Decrease Text Area ↑

 Find out how to track new comments!


 

  1. There aren't any trackbacks or pings yet. You can be the first by using this trackback URL.