running out of virtual memory
running out of virtual memory
I play a game called Rise of Nations that eats up my memory like crazy. Whenever I finish a game that takes 30 or more, trying to activate anything takes forever, and the only way I can get things to load properly again is to reboot.
Is there a way to clear the memory w/o rebooting?
thx!
-RM
--I have 512mb of Rambus on a P4 2.26
Is there a way to clear the memory w/o rebooting?
thx!
-RM
--I have 512mb of Rambus on a P4 2.26
Xciter--Thanks for the tip....and Its set to 384 mb...
Will increasing it help?
Matrix-- sir, yes sir! I'm working extra to try and get a few extra $ for that system (and waiting for the 7800GT to show up to lower prices--which should be pretty quick)
Krom--I hate to drop any more $ into this system as it becomes my wife's office machine as soon as I get he new one...
Will increasing it help?
Matrix-- sir, yes sir! I'm working extra to try and get a few extra $ for that system (and waiting for the 7800GT to show up to lower prices--which should be pretty quick)
Krom--I hate to drop any more $ into this system as it becomes my wife's office machine as soon as I get he new one...
- CDN_Merlin
- DBB_Master
- Posts: 9781
- Joined: Thu Nov 05, 1998 12:01 pm
- Location: Capital Of Canada
1. Space is cheap.Xciter wrote:You don't need to lock the page file!!! It's one continuos file which will only grow if you reach it's minimum and if set up right it's not going to grow. Read the part of that FAQ about Dynamic sized page files.
locking it and you lose the ability of it it grow if needed...
2. Windows is paranoid about loosing data. if it will grow the pagefile, windows will dump the data to disk immediatly... anything past the min size will be fragemented, further degrading performance during the pagefile resizing(in writes of 4KB each). Windows is the modern only operating system that allows that - and its a bad hack that exists that still around do to people bitching about win95 not running on 386s with 4 megs of memory and a 30 Meg HD. If the option wasn't there to begin with, nobody would be saying its a good thing to do.
That is correct behavior. If for some reason the OS needs more than the maximum amount of pagefile specified, I surely hope it would fail.Xciter wrote:If on the other hand the system needs more pagefile space and it can't, because you've disabled expansion, some program, or perhaps the OS, will outright fail. This is far, far worse than the very mild and occasional performance hits you take in the "expansion enabled but not used often" scenario.
But your probably looking at this thru the filter of your super fast scsi drives and SMP systems, where your choice of hardware minimizes the performance impact of such pagefile expansion... and not witnessed it on a machine with a low-end 5400 rpm ide drive with a process that was also thrashing the HD at the same time it was adding more pagefile. Locking the page file in that instance would've reduces the CPU overhead concering the pagefile expansion - it just becomes writes to the pagefile, rather than writes to the file table and the pagefile.
But Im thinking you treating the swap file as an extension of real ram, which is incorrect.
Xciter wrote:Even if the pagefile fragments, it's going to be fragmented in MUCH larger chunks then Windows can write to it in (64k)
Won't Windows only write to the pagefile in 4K blocks, considering that's the size of a page?
Regardless, locking the pagefile seems foolhardy unless you notice constant HDD thrashing in a memory-intensive program (like a game or something). Then locking the pagefile would give a good estimate as to at what point it gets full, useful for increasing the minimum size of the pagefile. Why would anyone want to disable the safety buffer that Windows gives you, especially since it warns you anyway when it's expanding the pagefile? What's worse, no process has priority in memory allocation over any other process, meaning that Explorer.exe and MemoryHungryProcess.exe will compete and eventually both die due to the lack of resources.
Pardon my complete technical ignorance, but what exactly is a pagefile? I'm asking because, after running FS2_Open, my system (P4 3.0, 512 RAM, Radeon X300 64MB) runs like a dog, usually until I restart it. I was wondering if fiddling with the pagefile size would help to alleviate that problem or whether it's just caused by the limitations of my hardware. If it would help, where exactly would I look to fiddle around with it?