Where is my memory going?

Soldato
Joined
18 Jan 2005
Posts
4,171
Location
Northants
I'm having massive problems with bf2 paging, and i have 2gb of memory and i know it runs smoothly with 2gb and it doesn't run smoothly with 1gb which is why i upgraded, so i think something is wrong.

The memory usage of bf2 is reported at 240mb, and added to the rest of the processes does not add up to the 1940mb of used memory taskmanager reports...

memoryaf4.png


Look at that ridiculous pagefile...
Any ideas?

Thanks
 
No, should i?

Folding hardly uses anything thankfully.

I wonder if there is a utility that could find whats stealing my memory...
 
Joe42 said:
No, should i?

Folding hardly uses anything thankfully.

I wonder if there is a utility that could find whats stealing my memory...

Yup, you should do virus scans and stuff :)

Ad-Aware
A-Squared
Spysweeper
Spybot S&D
Windows Defender
 
Craig321 said:
Yup, you should do virus scans and stuff :)

Ad-Aware
13 tracking cookies removed. Nothing capable of eating 2gb of memory methinks.
A-Squared
Picked up 8 items that were all registry keys made by vnc, completely harmless. Not impressed. Also found 3 medium risk items and one low risk, mostly registry keys apparently.
Spysweeper
Found nothing.
Spybot S&D
Decided that me disabling windows security centre notifications is a threat. Found a few tracking cookies.
Windows Defender
Needs a legal copy of windows iirc.

So its clean, what shall i do next?
 
In Task Manager, when on the Processes tab go to the view menu and pick "Select Columns", you can then add a page file usage column to the processes list and see what is actually chewing up the page file.
 
Suppose it could be your running a program with a memory leak that isn't freeing it up properly, would try running BF2 with absolutely everything disabled.
 
rpstewart said:
In Task Manager, when on the Processes tab go to the view menu and pick "Select Columns", you can then add a page file usage column to the processes list and see what is actually chewing up the page file.
I don't see an column called pagefile but there is one called virtual memory size, is that it?
try using a program called HiJack This... really good... run it and let me know what it brings back
Thanks, i'll give that a try.
Does it only thrash while playing BF2?
Yes, only because bf2 uses a massive amount of memory.

The problem is not the pagefile, its the fact that the memory being used by the running processes including bf2 does not add up to even half my available memory, yet all my memory is in use and as a result bf2 only gets 240mb and so has to page because something else seems to be stealing half my memory and not showing up in the processes list.

Suppose it could be your running a program with a memory leak that isn't freeing it up properly, would try running BF2 with absolutely everything disabled.
Bf2 has had memory leaks before and they say they are 'aware of the problems users are having with patch 1.3' i.e the game still doesn't work at least 6 months after release, so it could well be that the game has a memory leak. However if it did, wouldn't it show in task manager, wouldn't it display bf2 using a massive amount of memory?

Thanks for all your help everyone.
 
Stelly said:
try using a program called HiJack This... really good... run it and let me know what it brings back

Stelly
Ok i've run it, what am i looking for? Do i need to run it while running bf2? Should i send you the logfile?

Thanks

I'm going to run bf2 now and take a look at pagefile usage, and then i'm going to try moving the pagefile and changing it and see if that has any effect, although i think this is a memory problem rather than a pagefile problem.
 
You say folding isnt using much but I see it as it using up a total of 97 CPU - surely thats a lot isnt it?

Sorry if I'm wrong / reading it wrong.
 
UKTopGun said:
You say folding isnt using much but I see it as it using up a total of 97 CPU - surely thats a lot isnt it?

Sorry if I'm wrong / reading it wrong.
Thats because bf2 is minimized.
When maximized bf2 uses one core which is 50% and folding will only run on whats left over, which is the other core.
Folding only uses the cpu when nothing else is using it, and when bf2 is minimized it is not using it so folding uses it.
It is being run on the other core
No, it runs on both except when they are in use by something else. ;)


I have found my problem. Bf2 runs fine in single player, and in multiplayer using 900mb of memory and 900mb of pagefile and runs smoothly until about halfway through the 2nd round. At this point its memory usage suddenly drops to around 200mb.
The reason for this is windows pops up a message saying 'windows has detected that your pagefile is too small and is increasing it. During this time some pagefile requests will be denied' or something to that effect.
So this is screwing up bf2.

I'm going to mess around with my pagefile settings and see if this fixes it.
 
Ok, changing my pagefile to system managed does exactly the same thing but doesn't pop up a message.

After playing the game for a time using 900mb of memory it will drop to and become limited to 200mb and is forced to page instead. I have no idea why windows adjusting the pagefile size should limit it to 200mb.

Any other things i can try?
 
Back
Top Bottom