Where is my memory going?

Try downloading XP-antispy, tick the 'clear pagefile at shutdown' box, reboot and see what happens.

Long shot and it prolly wont work but its worth a try if nothing else.
 
squiffy said:
Fresh install :p
Of what, bf2 or xp?
I wouldn't be at all supprised if its another bf2 bug so i might contact ea support again and see what they say.
Try downloading XP-antispy, tick the 'clear pagefile at shutdown' box, reboot and see what happens.

Long shot and it prolly wont work but its worth a try if nothing else.
I might give that a try. Rebooting seems to 'reset' it, and it doesn't come back until i play the game for a while.
 
Try setting the pagefile to something huge like 3 or 4GB and see if you have the same problem. Windows should only have to adjust the pagefile once, but it seems each time you play BF2 the page file is too small!

SiriusB
 
I think i had it set to 10gb originally but i'll have another try.
Why its having to page so much with 2gb of ram remains to be seen, as its only using around 900mb and i'm sure there is more available than that.
 
For a system with 2Gb you should only need a page file of 3Gb. Make sure that you set the the min and max values to the same so Windows doesn't try to change the size of the file mid way through running something...it murders any performance while it does and also fragments you hard drive very badly.

You only other options if that has no effect are a complete OS rebuild or give the OS's hard drive a really good defrag.
 
Cyber-Mav said:
do what i did and get 4 gigs of ram. you will get no problems with it. ;)
I don't need 4gb of ram. Its not using what i've got, thats the point.
Nothing needs 4gb of ram so whats the point, 2gb of it would sit empty. Programs will always page regardless of the amount of ram installed.
Performance of my system would be identical with 4gb of ram or 2gb.

Its particularly wasted in your system as you have a mid range graphics card which couldn't run games at the sort of detail levels that require 2gb, let alone 4. If you had got 2gb and spent the extra money on a better graphics card i guarantee your system would perform far better than getting a lesser graphics card and an extra 2gb of ram.
 
Last edited:
i remember that there is something about being able to always unload ddls from memory when not in use , as windows keeps recent programs in memory or the dlls so they wont take as long to start , and is xp not famous for bu****ing up mem usage ?
 
I think the problem is bf2 isn't freeing up memory when its finished with it. Thats the only logical explanation i can think of. Everything behaves as if 1.6gb of my memory is in use by something else and that only happens after bf2 has been using most of that memory.
Can anyone explain to me what a memory leak is, is this one?
 
Couple of google definitions for you :)
# A programming term describing the losing of memory. This happens when the program allocates some memory but fails to return it to the system. Excessive memory leaks can lead to program failure after a sufficiently long period of time.

# Memory leaks are often thought of as failures to release unused memory by a computer program. Strictly speaking, it is just unneccesary memory consumption. A memory leak occurs when the program loses the ability to free the memory. A memory leak diminishes the performance of the computer, as it becomes unable to use all its available memory.
http://en.wikipedia.org/wiki/Memory_leak

Online games are particularly suspectible, a lot of mmos have that problem.
 
Did you get round to trying the larger fixed swapfile btw? And I'm guessing you've tried turning folding off? Drive/swapfile fragmented?
 
Tetras said:
Couple of google definitions for you :)
# A programming term describing the losing of memory. This happens when the program allocates some memory but fails to return it to the system. Excessive memory leaks can lead to program failure after a sufficiently long period of time.

# Memory leaks are often thought of as failures to release unused memory by a computer program. Strictly speaking, it is just unneccesary memory consumption. A memory leak occurs when the program loses the ability to free the memory. A memory leak diminishes the performance of the computer, as it becomes unable to use all its available memory.
http://en.wikipedia.org/wiki/Memory_leak

Online games are particularly suspectible, a lot of mmos have that problem.
Bingo. There you have it. I'm sure thats whats going on. I'll have to contact ea and find out why, and hope the 1.4 patch fixes it. Thanks for the definitions.
Did you get round to trying the larger fixed swapfile btw? And I'm guessing you've tried turning folding off? Drive/swapfile fragmented?
Tried setting a 3gb pagefile, yes, i have tried a different drive but i'll try again as i can't remember if i was having this issue with the pagefile on the other drive. Haven't tried turning folding off as i see no reason to suspect it.
Really i think this is a memory leak in bf2, perhaps caused by something else in combination with bf2 but i think the pagefile issue is only a side effect.
 
It is at least one of the reasons why people refer to BF2 as still being in beta, memory leaks tend to be sloppy or unfinished code imo.
 
Tetras said:
It is at least one of the reasons why people refer to BF2 as still being in beta, memory leaks tend to be sloppy or unfinished code imo.

Perhaps game developers are taking a leaf from micro$ofts book and using the public as beta testers for the retail product. ;)
 
Tetras said:
It is at least one of the reasons why people refer to BF2 as still being in beta, memory leaks tend to be sloppy or unfinished code imo.
Absolutely. It has had a memory leak in one of the server versions that caused constant server crashes and it took weeks to fix.
Its ridiculous that paying customers are used as beta testers, and they keep bringing out new addon packs to try and get more money out of us while the game remains unfinished.
 
SameSuspect said:
ridiculous isnt it. Well 2142 is in free beta at the minute, hopefully it wont be as dodgy when its released. hopefully
Not a chance, they haven't been working on that for very long at all, there is no way its near finished and i doubt it will be finished when its released.
Why can't they get bf2 working first before they make another one and loads of addon packs.
 
Back
Top Bottom