Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Out of Virtual Memory Error

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Current Games From Matrix.] >> [World War II] >> Steel Panthers World At War & Mega Campaigns >> Out of Virtual Memory Error Page: [1]
Login
Message << Older Topic   Newer Topic >>
Out of Virtual Memory Error - 11/20/2001 8:09:00 AM   
Capt. Chris

 

Posts: 14
Joined: 11/19/2001
Status: offline
I just installed SPWAW version 5.1 and have been getting a virtual memory error. "You are within 5 MB of your virtual memory limit.", and then the game dies. I have since upgraded to version 6.2 in hopes that my problem was resolved but it still happens. Any ideas?

_____________________________

Chris
Post #: 1
- 11/20/2001 8:35:00 AM   
tracer


Posts: 1865
Joined: 11/22/2000
From: New Smyrna Beach, FL USA
Status: offline
Right click on 'my compter', select properties, and go to the performance tab and hit the 'virtual memory' button. If you *don't* have 'let Windows manage...' selected, try either selecting it, or increasing the amount you are using. [ November 19, 2001: Message edited by: tracer ]



_____________________________

Jim NSB

(in reply to Capt. Chris)
Post #: 2
- 11/20/2001 8:53:00 AM   
john g

 

Posts: 984
Joined: 10/6/2000
From: college station, tx usa
Status: offline
quote:

Originally posted by Capt. Chris:
I just installed SPWAW version 5.1 and have been getting a virtual memory error. "You are within 5 MB of your virtual memory limit.", and then the game dies. I have since upgraded to version 6.2 in hopes that my problem was resolved but it still happens. Any ideas?
Are you using freemem.exe? I saw this with v6.1 poping in and out of the megacampaign when I was saving turn by turn to test the yugo bug. That has been the only time I have ever seen it, even when running mutiple news clients, internet exploder downloading files, and playing spwaw at the same time. I don't normally have issues with memory since I have 192 meg real and a 256 meg static swap file. How much ram and how big a swap file do you have?
thanks, John.

_____________________________


(in reply to Capt. Chris)
Post #: 3
- 11/21/2001 5:05:00 AM   
Capt. Chris

 

Posts: 14
Joined: 11/19/2001
Status: offline
I am not using that freemem program. I have 512MB RAM and I did have a 128MB swap file. Ever since I upgraded my RAM to 1/2 gig I have never seen my swap file used at all so I didn't think that would be an issue. I have decided to let Windoze manage my swap file for now. I will post back if I see any more issues but hopefully this resolves my problems. Thanks for your quick responses.

_____________________________

Chris

(in reply to Capt. Chris)
Post #: 4
- 11/21/2001 6:16:00 AM   
eaube

 

Posts: 27
Joined: 11/20/2001
From: NB, Canada
Status: offline
It doesn't matter how much physical RAM you have, some programs will always make use of virtual memory. The most important thing to remember is that virtual memory uses hard drive space as RAM, and so if your hard drive is getting full, you will get 'out of virtual memory' errors. If Windows is managing your virtual memory, just make sure you have plenty of free hard drive space available. Freeing up at least a gig of space should certainly help, and may even make Windows run faster in general.

_____________________________


(in reply to Capt. Chris)
Post #: 5
- 11/22/2001 5:18:00 PM   
Arralen


Posts: 827
Joined: 5/21/2000
Status: offline
quote:

Originally posted by Lack of Comprehension:
It doesn't matter how much physical RAM you have, some programs will always make use of virtual memory. The most important thing to remember is that virtual memory uses hard drive space as RAM, and so if your hard drive is getting full, you will get 'out of virtual memory' errors. If Windows is managing your virtual memory, just make sure you have plenty of free hard drive space available. Freeing up at least a gig of space should certainly help, and may even make Windows run faster in general.
With 512 Megs you can disable the swap file usage completely - and with Win95 oder '98 you should do so, as both OS' VCache cannot handle more than 512MB correctly, thus they run into trouble when they have that much RAM and try to allocate some virtual RAM as well. Furthermore, you won't need more than 512MB with any prog I know of And VCache is causing even more troubles - per default it uses all available RAM for caching.
Try adding the following to your System.ini [Vcache]
MinFileCache=4096
MaxFileCache=20480 ..this will set the file cache to min. 4 MB, max. 20MB; you may use the "Max" entry only as Win uses it almost exclusivly - once RAM is allocated to cache, it's never released again You may check memory usage with "sysmon.exe" - it's not installed per default, but you may run it from your Win CD. hope this helps A.

_____________________________

AMD FX-4300
Gigabyte 970A-DS3P
Kingston 24GB DDR3-1600 (PC3-12800)
Asus GTX 750 Ti OC 2GB GDDR5
Seagate Barracuda SATA III 1TB
Windows 8.1

(in reply to Capt. Chris)
Post #: 6
- 11/22/2001 6:39:00 PM   
john g

 

Posts: 984
Joined: 10/6/2000
From: college station, tx usa
Status: offline
quote:

Originally posted by Arralen:
With 512 Megs you can disable the swap file usage completely - and with Win95 oder '98 you should do so, as both OS' VCache cannot handle more than 512MB correctly, thus they run into trouble when they have that much RAM and try to allocate some virtual RAM as well. Furthermore, you won't need more than 512MB with any prog I know of And VCache is causing even more troubles - per default it uses all available RAM for caching.
Try adding the following to your System.ini [Vcache]
MinFileCache=4096
MaxFileCache=20480 ..this will set the file cache to min. 4 MB, max. 20MB; you may use the "Max" entry only as Win uses it almost exclusivly - once RAM is allocated to cache, it's never released again You may check memory usage with "sysmon.exe" - it's not installed per default, but you may run it from your Win CD. hope this helps A.

I think you will find that some software refuses to run if there is no swap file at all. When I went to 192 meg ram I tried and found that some games like C&C Red Alert would refuse to run if I disabled the swap file, they never expected this amount of ram and stubbornly demand that a swap file be there. If you hav a swap file a fixed size min=max is a better solution. In your example setting both to 20480 will result in windows not thrashing the disk fragmenting the swap file. With a permanent fixed size file it stays unfragmented from then on. That leads to better performance.
thanks, John.

_____________________________


(in reply to Capt. Chris)
Post #: 7
- 11/23/2001 1:07:00 AM   
skukko


Posts: 1928
Joined: 10/24/2000
From: Finland
Status: offline
spwaw tested:: 6 megs free HD space with 256megs mem and runs fine. But 6megs is not much if you play pbems or do editing... mosh

_____________________________

salute

mosh

If its not rotten, shoot again

(in reply to Capt. Chris)
Post #: 8
- 11/24/2001 3:48:00 PM   
Jasper

 

Posts: 174
Joined: 5/29/2001
From: I am from Mars
Status: offline
quote:

Originally posted by Capt. Chris:
I am not using that freemem program. I have 512MB RAM and I did have a 128MB swap file. Ever since I upgraded my RAM to 1/2 gig I have never seen my swap file used at all so I didn't think that would be an issue. I have decided to let Windoze manage my swap file for now. I will post back if I see any more issues but hopefully this resolves my problems. Thanks for your quick responses.

Just for ur information, window is only able to make fully use of the memory up to only 256, more than that is useless unless u are using Networking......

_____________________________


(in reply to Capt. Chris)
Post #: 9
- 11/24/2001 8:51:00 PM   
SoleSurvivor

 

Posts: 1493
Joined: 7/13/2001
From: Germany
Status: offline
Only applies to win95 / early 98

_____________________________

"Wenn sie jetzt ganz unverhohlen
wieder Nazilieder johlen
über Juden Witze machen
über Menschenrechte lachen
wenn sie dann in lauten Tönen
saufend ihrer Dummheit frönen
denn am Deutschen hinterm Tresen
muss nun mal die Welt genesen
dann steh auf u

(in reply to Capt. Chris)
Post #: 10
- 11/25/2001 1:04:00 AM   
RockinHarry


Posts: 2963
Joined: 1/18/2001
From: Germany
Status: offline
My SPWAW installment runs fine with 64MB Ram and 128 MB swapfile on PI200 computer.
Only if switching between Editor and playing a game in same session, I will be thrown to DT occasionally. ____________
Harry

_____________________________

RockinHarry in the web:

https://www.facebook.com/harry.zann

(in reply to Capt. Chris)
Post #: 11
- 11/25/2001 6:15:00 AM   
tracer


Posts: 1865
Joined: 11/22/2000
From: New Smyrna Beach, FL USA
Status: offline
Check out this article . The second page has a few good tips.

_____________________________

Jim NSB

(in reply to Capt. Chris)
Post #: 12
- 11/26/2001 3:27:00 AM   
parusski


Posts: 4804
Joined: 5/8/2000
From: Jackson Tn
Status: offline
Capt. Chris, I work in the computer field as a Network and database specialist. So I know a little about computers. I want you to tell me how much free space you have on your hard drive!
After you let me know I can give you more advice. One way to discover how much free hard drive space you have is to do the following: RIGHT click on START, select EXPLROE, then right click on the hard drive icon, go to the bottom of the menu that bring up and select PROPERITES. This will tell you how much space is available. I hope I am not insulting you if you already know how to do this. Either way just let me know how much free hard drive space you have. David

_____________________________

"I hate newspapermen. They come into camp and pick up their camp rumors and print them as facts. I regard them as spies, which, in truth, they are. If I killed them all there would be news from Hell before breakfast."- W.T. Sherman

(in reply to Capt. Chris)
Post #: 13
Page:   [1]
All Forums >> [Current Games From Matrix.] >> [World War II] >> Steel Panthers World At War & Mega Campaigns >> Out of Virtual Memory Error Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.328