Link to home
Start Free TrialLog in
Avatar of 930913
930913

asked on

My computer is "Out of Memory" and I can't figure out why.

I have a Dell Inspiron 640m with 2gb physical RAM and tri-boot.
I usually leave it running for days without restarting but recently various programs complain of lack or memory and programs won't open until I close some other programs.
I can't figure out why this is as task manager usually shows usage of 1.5-2.3gb and even above 2gb shouldn't be a problem as I have set 6gb more hard drive for virtual RAM.
(I have tried removing virtual RAM but it did not help. Nor did cleanups such as CCleaner)

Why is my computer "dying"?
Why does (Virtual) Memory not add up to the PF value given?
Also, not needed for points but would be helpful for how to fix said problem.
cpu.png
Avatar of Brian Pierce
Brian Pierce
Flag of United Kingdom of Great Britain and Northern Ireland image

you can safely show us task manager - it may be handy to see what is consuming the memory.

it can also help to do a clean up of temp files
SOLUTION
Avatar of Kenneniah
Kenneniah

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of 930913
930913

ASKER

@KCTS Looking into it.
@Kenneniah Roughly 6000 objects in total. What does this equate to?
6000? nothing to worry about there. There really isn't a good hard limit to give you as to whether or not object usage will start causing problems, as it varies based on available ram etc. There is a default limit per process of 10,000. Unless you are getting 5k or higher on a single process, or above around 20-30k total I wouldn't worry about objects.

Also, to correct something I said earlier, the 2GB limitation is per application not total. That said though, due to the way 32bit addressing works, and how Windows XP handles memory mapping, caching, and reservation , as you exceed 2GB you will see more "not enough memory"messages. It just all depends on exactly what all is going on.
Use WHats running for more info and easy trouble shooting

http://www.whatsrunning.net
Avatar of 930913

ASKER

How can I find out how much of each win/app percentage I'm using and how much I have of each?
Most likely you are running into a Desktop heap issue. This is a well known issue if you are running lot of applicatons on a system or if there is an application that spawn multiple worker processes. Each application uses some shared section memory from each desktop or winstation.
Apply the changes as mentioned in http://support.microsoft.com/kb/126962 and I hope that would help.

If you really want to track whats going on then you can create a perfmon capture with memory, CPU, Processes, processor, -with all instances and all objects. and keep it running until issue happens. However, I doubt that will help if that is a desktop heap issue. To track desktop heap counters you would have to use dheapmon: http://www.microsoft.com/downloads/details.aspx?familyid=5cfc9b74-97aa-4510-b4b9-b2dc98c8ed8b&displaylang=en.

First I would suggest you make the changes as mentioned in the KB and let us know.Be careful, take a back up of the regisrty before modification.
Avatar of 930913

ASKER

Did see that article, but it doesn't seem to be helping.

dheapmon looks good, but I don't think it is compatible with SP3.
Once you make the change this will need a reboot to take affect since its gets initialised at boot.
secondly what value do you see on your computer under sharedSec as mentioned in the KB?
Avatar of 930913

ASKER

zzz was 512; I've changed it to 1024.
Avatar of 930913

ASKER

Tweaked dheap to run, attached the output for you.
dheap.png
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of 930913

ASKER

Thanks, please help me with the continuation of this question at https://www.experts-exchange.com/questions/24838381/My-computer-is-Out-of-Memory.html