Recommended Posts

I am working on an XP machine with very high memory usage. According to the task manager, there are just 37 processes running, those processes add up to about 170mb. according to the performance tab it is using over 500mbs. That leaves a difference of 330 mbs unaccounted for. I would like to reduce the total memory usage, but am not sure where to start looking.

Link to post
Share on other sites
I am working on an XP machine with very high memory usage. According to the task manager, there are just 37 processes running, those processes add up to about 170mb. according to the performance tab it is using over 500mbs. That leaves a difference of 330 mbs unaccounted for. I would like to reduce the total memory usage, but am not sure where to start looking.

First off, it is better to add more RAM than to reduce memory usage.

XP has a very powerful memory manager; I think the easiest way to visualize it is to think that it treats RAM and SWAP file as two portions of the same thing, memory ; one being fast and one slow.

The reality is that the XP memory manager lets each program think that it has a total of 4GB of memory addresses and can have any addresses it likes . Then it takes these "virtual" memory addresses and remaps them on the fly to real addresses. This way two applications , hardware or software , can think that they are being assigned the same preferred address , even though they are not. It also simplifies the restrictions on the coding which programmers must follow.

Finally it gets rid of the old restrictions in DOS based OS which had "system resources" where you had one 64KB page of memory on which all forms of input (user resources) were listed and the associated memory addresses, and another (graphic resources) was for output. If one got filled, you ran out of resources and crashed.

The danger if you use one of these RAM freeing programs is that it is overriding what the windows memory manager has done. It is not only second guessing its allocation, but it is adding one more layer or re mapping so that things will by necessity be slower at some point.

In task manager, select process tab. Then go to view on the toolbar at top, and click "select colums"

Make sure you have Mem Usage, and VM size checked also Peak mem usage . There are other things you can check out (Meme delta is the change in mem usage, page pool, non paged pool).

See it soon becomes confusing.

The performance tab adds another layer , physical memory, page file, kernel memory., commit charge .. ahh it just gets harder and harder.

So my guess is that you are seeing the RAM usage and total memory usage and they do not add up, because one is just ram , and the other is the combined use of ram and page file

Link to post
Share on other sites

Normally one of the first things I do when diagnosing a computer running slow is to open the task manager and look at the PF Usage reading. If this number is higher then installed physical memory, I assume the computer is using the pagefile instead of real memory and slowing down alot.

For a benchmark, when I do a new load of XP sp2, the PF Usage reading is about 150mb. This is before installing any programs. For another benchmark, most client computers which have an old install of XP, after disabling all startups via msconfig, the PF Usage reading is about 200mb. This current computer I am working on seems odd. After disabling all startup programs the PF Usage reading is about 400mbs.

Link to post
Share on other sites
Normally one of the first things I do when diagnosing a computer running slow is to open the task manager and look at the PF Usage reading. If this number is higher then installed physical memory, I assume the computer is using the pagefile instead of real memory and slowing down alot.

PF Usage is the maximum amount of pagefile space that could potentially be used. I don't know where you can find the amount of space actually used.

Edited by jcl
Link to post
Share on other sites
I kind of figured that was not actual memory used, but it seemed to be a ballpark estimate of really memory being used.

Memory Usage, Memory Usage Delta, and Page Fault Delta are probably more useful.

(I'm not sure if anything in the Performance tab is useful. Available Physical Memory, maybe. Task Manager is baffling.)

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...