Archived

This topic is now archived and is closed to further replies.

martinlest2

OoM errors and /3GB fix

Recommended Posts

I had at first thought that the fix I have added to my boot.ini file (/3GB /userva=2560, documented in various posts on AVSIM of course) was one of the best things I've done to my FS9 setup for some time - it certainly seems to have cured out-of-memory crashes.However, it is proving to be a bit of a mixed blessing: instead of FS crashing, ground textures now have started refusing to load as I approach the airport, I just get the kind of blur you'd get if you had arrived there ultra-fast, in slew mode; autogen/ city scenery struggles to load and aircraft turn remain silver - i.e. missing their livery - for up to a minute at a time in spot view, in spite of DXT3 bmps.. I never had these problems before tweaking the boot.ini and FS9.exe file. I am also getting problems in AES, with sound files not playing.Once I am on the ground, things slowly settle back, but it all makes for a very ugly approach and landing.Has anyone else had this texture loading problem? And solved it?! Would I be advised to change the value of 2560, perhaps reducing it by 56 or 128 each time until I get a balance OoM and properly loading scenery? If anyone else has tweaked things because of similar problems, it'd be good to hear what resulted.Martin

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Hello Martin.I have been researching this as well. From what I gather it goes in increments of 64MB.I found this at MS>>>http://support.microsoft.com/?kbid=316739And this at Phil Taylors blog>>>http://blogs.msdn.com/ptaylor/archive/2007...ress-space.aspxSome have higher settings (and lose stability). But if your video card is 512MB maybe try a higher setting than 2560?Phils post also explains what is heppening in AES as well. The DLL used in AES to acitvate the scenery is having trouble going above the 2GB allowed under normal circumstances. I have tried adding the "switch" to the DLL AES uses but it did not help.Back to the texture loading hiccup. My video card is 640MB and I am going to try and go with something slightly lower like 2432 and see what happens.

Share this post


Link to post
Share on other sites

Yes, 64MB increments: not sure why I put 56..I will keep experimenting and post any useful discoveries.Martin

Share this post


Link to post
Share on other sites

BTW, I have two NVidia cards (though not used as SLI, as I have two monitors; SLI & 2 screens seem incompatible, on my PC at least). They are both 512MB memory, but wouldn't increasing the userva value just make the texture loading worse? I am decreasing the value (2048 would be the default I presume and have no effect), hoping (against hope??) to find a setting that leaves the texture loading unimpaired but still prevents OoM crashing..M.

Share this post


Link to post
Share on other sites

Removing the 3gb switch and reinstating the untweaked FS9.exe file doesn't get the AES sounds back!!

Share this post


Link to post
Share on other sites

The way I gather it works is like this (and forgive me for being redundant).XP has 4GB to play with, 2GB for applications and 2GB for system. On PCI-E systems (most are now) that 2GB of system also includes any PCI-E video memory you have. In your case you need 1GB (512 X 2). I assume because no one has mentioned anything about cards running in SLI mode.So you may want to try a lower value as you said. Phil Taylor said 768MB left for the system is very resonable. So the formula...4096 Total MemoryLess...1024 of your video memory768 of system memory= 2304So your tweak number would be 2304.Mine looks like this (and seems better with the texture loading for some reason, but it could all be my imagination)4096 totalless...640 video memory768 system memory= 2688Another thing with the sounds, some play from inside and outside the plane (you can hear it or not hear it depending on your view). Again that is something in AES help that can be tweaked.I have to admit I have had zero sound issues...Another thing, I spend way too much time tweaking and such and not enough flying!

Share this post


Link to post
Share on other sites

Does this mean that for a 320MB memory 8800GT, I should change to 4096-320-768 = 3008???ThanksGhiomPS: I also encounter the problem of blurries described aboe and my setting is currently 2560...

Share this post


Link to post
Share on other sites

"Another thing, I spend way too much time tweaking and such and not enough flying!"I bet you aren't as bad as me - I hardly seem get a flight in these days!The AES sound issue was a conflict with Active Camera - nothing to do with the 3GB thing: odd, though, as they worked fine together before:http://www.forum.aerosoft.com/index.php?sh...=0entry104449I have started at userva=2048, and am working my way up, adding 128 each time..M.

Share this post


Link to post
Share on other sites

Yes! Of course this is all at your own risk. Try some different values if that does not work, anything in a 64MB multiple.Make sure your original boot.ini is backed up.

Share this post


Link to post
Share on other sites

What is the risk of changing.Could it effect the start-up of WinXP?I mean, can a change like /3008 prevent winXP from starting up? Or the risk is just limited to FS9ThanksGhiom

Share this post


Link to post
Share on other sites

Well if your computer savvy I wouldn't worry. The largest risk is wrecking your boot.ini and not being able to boot. Anytime your mess around with system files you run the risk of hosing something.I have been using all kinds of values the past couple days and I think the risk is minimal in all honesty. But some that read this are not computer savvy, thus the warning. If you don't have confidence when fiddling around with settings like this DON'T DO IT!

Share this post


Link to post
Share on other sites

You mean that if I am able to change from 2560 to 3008 in a text file, it should be ok?Note that I have applied the tweak already.or it is XP which could not like a change, even well made?ThanksGhiom

Share this post


Link to post
Share on other sites

My experiments aren't going very well. With userva=2176, just 128MB over the default, I STILL get blurred ground textures and blank, 'liveriless' a/c (AI traffic included at airports). I am just testing userva=2112, a measly 64MBs over default and textures seem OK. But whether this setting will make any difference at all to the OoM CTDs is very doubtful I would think.I was REALLY pleased when I first added the /3GB switch and FS9 kept running even at 98% RAM usage - no OoM crashes (about 86% was the maximum I achieved before), but I clearly smiled too soon! I can either have OoM crashes, or very blurry textures and blank aircraft. Talk about the devil and the deep blue sea!Martin

Share this post


Link to post
Share on other sites

Martin, you have 2 X 256MB video cards?You might try bumping it up.4096 - 512 (2 X 256) - 768 = 2816The higher setting (2688 over default 2560) actually helped my blurry problems. After more testing I'm not imagining it.

Share this post


Link to post
Share on other sites

Anything's worth a try at this stage! I'll keep you posted. :-)BTW Ghiom, this switch is not activate in safe mode, so if disaster does occur and you can't boot, start up in safe mode and remove the switch from the boot.ini file. Then boot as normal..Martin

Share this post


Link to post
Share on other sites

... which sums lead to a figure of 2304. Well, I started off at 2560 and have gone down to 2112 before I got rid of the texture problems, so this is not looking hopeful for me!

Share this post


Link to post
Share on other sites

What I really don't understand is this: Why with a /3GB switch do textures stop loading correctly right from FS9 startup: when FS9 has only just started up there is usually at least 1GB of free physical RAM showing, so why am I getting these texture loading problems right from the outset, with so much physical RAM still available? Textures load up fine without the /3GB modification.M.

Share this post


Link to post
Share on other sites

HiHas someone tried Useva=3008 or such high figures? And what are the results?Thanks very muchGhiom

Share this post


Link to post
Share on other sites

Some have and had great results, others have had poor results. Each system differs.As a rule of thumb and as stated above start by using Phil Taylor's formula.Out of the 4GB the system needs 768MB, then the system also needs what ever video memory you have. The rest can go in the UseVa=

Share this post


Link to post
Share on other sites

Just tried a flight with 3008 for UserVA since my Video is 320Mb.texture loading was a nightmare (worse than at 2560).At some point, since I had no VC texture and no ground texture, I did a scenery refresh and the sim froze...Now, I am flying without the patch and the un-patched FS9.exe.Seems like everything is back to normal, I mean to "before the patch".I didn't have much of OOM CTD anyway.Now the problems are still with stutters as my other post mentions... Gone when AITraffic density is set to 0.ThanksGhiom

Share this post


Link to post
Share on other sites

I don't want to sound mean, but I'm sort of relieved Ghiom that I am not the only one who has found this patch a bit of a disaster (doubly annoying as it does stop my OoM crashes!!!).M.

Share this post


Link to post
Share on other sites

Unless the UserVa setting is not correct for our systems...Can someone with XP SP2, FS9.1, 320Mb Videocard and 2Gb RAM advise whether he found a "good" userva setting?ThanksGhiom

Share this post


Link to post
Share on other sites