Solved

Understanding task manager memory readings

Posted on 2008-10-18
10
335 Views
Last Modified: 2013-11-10
in a system with 2gb of RAM (or more. it does not really mater).

In Performance tab:
total memory = total RAM
in available memory, memory = RAM + VM

In Processes tab:
mem usage (Working Set) = RAM used by process (i think).

1. If I sum the processes mem usage, sometimes I get a number higher then the total RAM in the system. Why ?

2. If working set is not representing only RAM, Is there a way to calculate ONLY the RAM consumed by a process without the VM ?

3. Please explain if my understanding is incorrect.

Thanks,
0
Comment
Question by:OrenRozen
  • 4
  • 4
10 Comments
 
LVL 4

Expert Comment

by:tbkconsulting
Comment Utility
1. Memory available for use to a system is more than just the physical RAM in a system, it also includes the SWAP file from the Hard Drive - Windows uses this to supplement itself when memory demands are high.

2. There should be part of the view from the Task Manager that shows Page File usage (Page File = Swap File)
0
 
LVL 3

Author Comment

by:OrenRozen
Comment Utility
1. As I've said, available memory = RAM + VM
2. I know that PF = VM = SWAP.

What I'd like to know is if working set (mem usage in processes tab) is the phisikal memory (RAM), why when I sum the numbers at a given time it shows (sometimes) MORE the the total installed RAM.

And if working set isn't only RAM, how can I calculate ONLY the RAM used by a process (without any VM)?

Thanks,


0
 
LVL 4

Expert Comment

by:tbkconsulting
Comment Utility
Perhaps this technet article will help - it's for windows 2000 but the same things are still there for XP and Vista as well ... --> http://technet.microsoft.com/en-us/library/bb742598.aspx
0
 
LVL 3

Author Comment

by:OrenRozen
Comment Utility
Appreciate your help,

I know this kb and here is a link to a detailed kb:
http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/core/fneb_mon_oyjs.mspx?mfr=true

My problem is that apparently Microsoft (in all my calculations) includes the VM as RAM.

and I want to find ONLY the RAM occupied by a process (again, without the VM).

Thanks,
0
Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

 
LVL 4

Expert Comment

by:tbkconsulting
Comment Utility
I think the only way to really do that is with external 3rd party programs - I'd do a search for a free/shareware program to see if I could find something.
0
 
LVL 3

Author Comment

by:OrenRozen
Comment Utility
wow, thanks.

regarding my Q about working set, can you tell me if it is RAM or RAM+VM?

Thanks,
0
 
LVL 4

Expert Comment

by:tbkconsulting
Comment Utility
RAM + VM
0
 
LVL 3

Author Comment

by:OrenRozen
Comment Utility
After searching I've found the reason why the total sum of mem usage (working set) in task manager can get larger then the total amount of physical memory.

working set includes shared memory (pages) that other processes can use. for example:
if the total amount of memory have 10 pages and,
there are 2 processes that take 5 pages and,
every process share 1 page that the other process use.

working set = (5 + 1 for process I) + (5 + 1 for process II) = 12
in vista and server 2003 there is a new value in the task manager called working set - private that shows total physical memory NOT including shared pages.
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
Comment Utility
PAQed with points refunded (125)

Computer101
EE Admin
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now