5.0 crash/'not enough virtual memory left' (Full Version)

All Forums >> [General] >> Unofficial Tech Support By Gamers for Gamers



Message


tracer -> 5.0 crash/'not enough virtual memory left' (5/7/2001 8:27:00 PM)

Installed the 5.0 patch, rebooted, deleted the .prf file and rebooted again. Loaded one of the new scenarios to check out the new features, saved and reloaded it a couple times then a message box popped up: 'you have less than 5meg of virtual memory left...'. I hit OK to close the box and the game exited. Never saw this message (or any message or error come to think of it) in any previous version. Is there some game setting I missed or need to change on my machine? I have my virtual memory set to 256mb (min and max).




Jarnis -> (5/7/2001 8:30:00 PM)

quote:

Originally posted by tracer: Installed the 5.0 patch, rebooted, deleted the .prf file and rebooted again. Loaded one of the new scenarios to check out the new features, saved and reloaded it a couple times then a message box popped up: 'you have less than 5meg of virtual memory left...'. I hit OK to close the box and the game exited. Never saw this message (or any message or error come to think of it) in any previous version. Is there some game setting I missed or need to change on my machine? I have my virtual memory set to 256mb (min and max).
Depending on your main ram and Windows version, that 256MB is either OK or far too little. I myself have Win2K, 256MB Main Ram, and I still run 700MB fixed swap file. Programs tend to hog memory nowdays like no tomorrow. There might also be a memory leak in v5.0. I'll let you know if I see any such thing tonight when playing myself. - Jarnis




tracer -> (5/7/2001 10:17:00 PM)

quote:

Originally posted by Jarno 'Jarnis' Kokko: Depending on your main ram and Windows version, that 256MB is either OK or far too little. I myself have Win2K, 256MB Main Ram, and I still run 700MB fixed swap file. Programs tend to hog memory nowdays like no tomorrow. There might also be a memory leak in v5.0. I'll let you know if I see any such thing tonight when playing myself. - Jarnis
I just built this system last month and set the swap file to what my last one was. Since this new hard drive is 10x the size of my previous one I think I can afford to bump up the size of the swap file a bit ;)




Paul Vebber -> (5/7/2001 10:50:00 PM)

The game is a memeory hog, and its possible there is a memory leak...code optimization has not been as high a priority and getting things to work at all! I have seen that virtual memory problem, but usually when I have lots of other stuff open at the same time, or have had multiple instance s of the program open at once (in win2k) for testing. LImiting the number of other apps (particular MS office ones that suck memory too...) open seems to keep it a very rare occurance to my experience [ May 07, 2001: Message edited by: Paul Vebber ]




tracer -> (5/7/2001 11:05:00 PM)

quote:

Originally posted by Paul Vebber: The game is a memeory hog, and its possible there is a memory leak...code optimization has not been as high a priority and getting things to work at all! I have seen that virtual memory problem, but usually when I have lots of other stuff open at the same time, or have had multiple instance s of the program open at once (in win2k) for testing. LImiting the number of other apps (particular MS office ones that suck memory too...) open seems to keep it a very rare occurance to my experience [ May 07, 2001: Message edited by: Paul Vebber ]
It looks like I just had it set too low Paul; after I increased it to 800mb the problem didn't reappear. And 'for your file' the only program I have running in the backround is my firewall (Zone Alarm)and my OS is Win98SE. V5.0 is the best yet...can't wait for my MC CD to arrive. Only thing I'm afraid of now is that the SPWAW team gets snatched up by some big company...thanks for a great game.




rich12545 -> (5/8/2001 1:58:00 AM)

Hmmm. Maybe I'm doing it all wrong. With win98 I'm letting windows set my virtual memory. And I always heard virtual mem had to be a multiplier of ram or something like that. I have 160 meg ram, can I just set vm at 800 meg?




Paul Vebber -> (5/8/2001 3:02:00 AM)

IT will take over a corresponding ly large chunk of your HD. I have tested on WINME with a default (ie let win do it for me) VM size. As long as you have 64MB Ram it should work OK for most scenarios.




Don Doom -> (5/8/2001 3:41:00 AM)

Did not get this problem, I have 128MB ran with two 10G HD. C:\ for op systems with SPWAW and wifes games loaded on D:\. Works great. :D :D :D




rich12545 -> (5/8/2001 6:27:00 AM)

Nice to know. Thanks for the help. Now I'm just waiting for the disk. :)




waynef -> (5/8/2001 7:22:00 AM)

Check out PC Gamer, May '01, Page 50, Tweak your Vitual Memory. "PC Gamer recommends that you use 2.5 times the amount of your system RAM, up to 512MB, and no less than 256MB. In other words, if you've got 128MB of RAM, you're going to want to set your vitual memory to 320MB (2.5 X 128 =320). :eek:




tracer -> (5/8/2001 7:29:00 AM)

quote:

Originally posted by rich12545: Hmmm. Maybe I'm doing it all wrong. With win98 I'm letting windows set my virtual memory. And I always heard virtual mem had to be a multiplier of ram or something like that. I have 160 meg ram, can I just set vm at 800 meg?
Rich, There advantages to both. By letting Windows set your swap file size it adjusts it so it doesn't take up alot of HD space, and you won't run out of memory (up to your free HD capacity). If you can afford the space, setting it manually increases your computer's performance. Have you ever noticed when you're just reading your screen (no input) and your HD starts chugging away? Alot of times thats Windows adjusting your swap file. I learned this trick about 6 years ago while playing Quake online...I'd be in the middle of a firefight when suddenly my screen would freeze because Windoze decided it was a good time to 'do some housekeeping' and would steal enough resources to bring my machine to its knees. I have 256mb of physical RAM and a 75gig HD, so the choice is obvious for me...sacrifice the 800mb of HD real estate. YMMV EDIT: Min and Max swap file size need to be the same to enjoy the advantage I mentioned above. [ May 07, 2001: Message edited by: tracer ]




BobRoyall -> (5/8/2001 9:46:00 AM)

I've seen so many sides of the virtual memory argument that I'm not sure exactly what is the "correct" setting. But in 5+ years experience with Win9x I've found the best advice is to definitely take control away from Windows. No matter what you set the swapfile size at it's better to have a standard base that is used in place, never fragmented by growing and shrinking. If you have the hard drive space, 300+ megabytes is suggested. I keep mine at 350mb. But one thing I have found out is to set this as the "minimum" value! I know some people also set a "maximum" value but unless you keep an extremely large swapfile, you're asking for trouble, i.e., memory shortages. I realize that if your swapfile grows larger than your minimum that it will create extra drive activity and that the extra section will fragment. Solution: set a minimum that is large enough that you can live with and leave the maximum value as unlimited. With the newer, larger, less-expensive hard drives available today, there's no reason not to have a decent swapfile that you don't have to worry about. And on the rare occassion I do load too many things at once I still have a swapfile that will grow to handle it without crashing the machine.




BruceAZ -> (5/8/2001 9:57:00 AM)

What you are suggesting is to reset the VM settings to a Min Setting (value) of 2.5 times your existing RAM and leave the Max Setting on "No Maximum"? If this is correct, and I have 256MB of RAM, then the settings would be 640 for minimum and leave the max at "No Minimum?" I have heard that you should try and keep the min and max numbers the same but then again, I am not a computer wiz... Any advice?




tracer -> (5/8/2001 10:31:00 AM)

quote:

Originally posted by 5thRecon: What you are suggesting is to reset the VM settings to a Min Setting (value) of 2.5 times your existing RAM and leave the Max Setting on "No Maximum"? If this is correct, and I have 256MB of RAM, then the settings would be 640 for minimum and leave the max at "No Minimum?" I have heard that you should try and keep the min and max numbers the same but then again, I am not a computer wiz... Any advice?
It really depends on what programs you run: until this morning I'd never seen a 'not enough memory' window and mine was only set at 256mb. The 'guideline' numbers I've seen are usually 2 to 2 1/2 times your physical RAM; why not split the difference and use 600mb. If it turns out you need a larger swapfile its a simple matter of typing in a larger number (or even changing it back to Windows Control) and restarting. I also have my MIN and MAX values the same (forgot to mention that earlier) which is what prevents the HD hashing.




BobRoyall -> (5/8/2001 11:28:00 AM)

quote:

Originally posted by 5thRecon: What you are suggesting is to reset the VM settings to a Min Setting (value) of 2.5 times your existing RAM and leave the Max Setting on "No Maximum"? ...I have heard that you should try and keep the min and max numbers the same but then again, I am not a computer wiz... Any advice?
If you have the drive space, set the minimum to a number high enough to cover most of your program requirements. Leave the maximum at "no limit" so the computer can expand the swapfile if it becomes necessary. That way you don't have to take the time to increase the setting, reboot, etc. With Norton Speedisk, the swapfile is defragged and moved to the front of the hard drive space for fastest access. You hate to have to run Speedisk every time you change the swapfile size. Not sure how large to set the minimum swapfile size? Dozens of utilities will monitor ram free, ram used, swapfile usage and size, etc... Set your minimum swapfile at 100mb and run one of those programs for a few days and see how big the swapfile gets. Norton System Doctor is the monitor I use. When you see the max swapfile size grow larger than your settings, increase your swapfile settings and try again. After 2-3 days of normal use, you should have a minimum swapfile size setting that you can defrag and use with minimal hard drive thrashing. And with the maximum set to "no limit", you're still covered for those unique situations where you use more memory than you would in normal computer use. :)




Pack Rat -> (5/8/2001 12:19:00 PM)

I'm using and know others that have been using Cacheman for a while. It's free and you can get it here http://www.outertech.com/ It is for almost all versions of Windows and will set your swap file for the type usage of your machine. Simple to use.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
2.658203