Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ran out of Virtual Memory - Memory Upgrade?

Status
Not open for further replies.

spangeman

Programmer
Oct 16, 2004
96
EU
Hello there.

I ran out of Virtual Memory while playing a game, XP kindly increased the page file and I carried on playing.

Would I be correct in saying that this is sign of requiring a RAM upgrade?


If so how can I work out what type of RAM to get?

Regards
Spangeman
 
Well, for one, it would help knowing what you got underneath that hood...

Give system specs...

you can also increase the Virtual Memory yourself, thumb of rule is usually 1.5 times the amount of RAM installed...


Ben

"If it works don't fix it! If it doesn't use a sledgehammer..."
 
if thats the only time you ever got that message and have been using the computer for a while I wouldn't say its a sign of needing more RAM or virtual memory. If you have plenty of unused disk space, manually set the virtual memory yourself, but I would say how much to increase it depends on how much you have installed. 256MB or less, use about 3 times that amount for virtual memory. 512MB or more, go with about 1.5 times.

If by any chance you have an older spare HDD, you could install it and potentially use all of it for virtual memory. I think I have an older 1.2 GB in this rig and it's used only for virtual memory (512 MB RAM). I also set the minimum and maximum size of virtual memory to the same amount, this way Windows doesn't have to bother to try and dynamically allocate space. Of course this is just my personal preferences.
 
I've read and heard that is a good way to go. I wonder if the drive speed would affect the overall speed of whatever it is you are doing at the time, say with a small h drive having a speed of 5400 rpm as opposed to a larger drive having 7200 rpm. Perhaps the time windows has to go thru a larger h drive would offset the faster speed and the 5400 rpm drive might end up just as good?
I figured a while back that on my next complete new install i would put the vm file on my second drive.


Good advice + great people = tek-tips
 
I'm late to this party but Agree with the above and add

Some games manage memory poorly but XP deals with it as you describe (An improvement on crashing as in older versions) Worth a google on the game and the issue to see if you are not alone on this.

You don't say how much memory you have. 256MB is a realistic minimum with XP and at current prices getting or increasing to 512MB is still good value if you play games, edit pictures etc.

If you edit movies, encode/ work with large music/sound files or do really detailed photoediting with lots of undo stages then you could follow me up to 1.5GB. I would say that is overkill as I rarely see more than 1GB of physical memory in use but I've got it now and things do buzz along very smoothly when playing with 300MB files :)

Regarding the second hard dedicated (i.e. empty) drive.
1) This is better than the c:drive if it is BOTH reasonably fast AND not on the same channel as the first HDD (where they will trip over each other anyway)

2) You are advised to leave a small virtual memory space on C: for the day you remove or lose access to the other drive and otherwise may not be able to boot (supposedly - not seen this myself)

3) BUT ANY disk is many times slower than the cruddiest memory - the virtual memory debate started when memory cost a weeks wages, It is a bit cheaper now.
If you have enough physical RAM the place where the VM/disc cache lives is irrelevent, In my experience windows XP will copy(mirror) a bunch files there so as to be ready to drop them from physical memory but never actually will drop them in normal uses and so never reads the disk versions ever again.

4) The advice on relative sizes for large memory/cache is oft quoted, but my real life experience suggests no more than c 300MB of 'disk memory' will ever be used. The 1x+ rationale relates to history when 64MB was a bit leading edge and has survived to allow saving of large de-bug files on crashes which is not a popular or necessary thing to do happily.

5) Short answer Unless you have over 512MB already get more memory! If you have 512MB+ get a game patch!

HTH
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top