Archived

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

sac601

FS9 Freeze out of memories

Recommended Posts

I am flying long flight and just when I arrived at the airport destination often it freeze and said not enought memories. What can I do to frixe that. I used a very high end computor with enough memery Window XP and FS9. I used Activbe Sky and addon sceneries and plane.ThanksAl

Share this post


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

I think we all know that this is a typical OOM error. They happen easily on 32bit system, what I think the original poster is using.Say, isn't it time to make a pinned post about it, say in the tips and tricks forum?

Share this post


Link to post
Share on other sites

I have the same problem with long hauls.The last 2 I made were both about 10hrs each and I suffered OOMs...the first was on the OCK2F arrival into EGLL and the second was at 4nm from touchdown, again at EGLL.I use FS9, XP PRO SP3 (32bit), AS 6.5, UT Europe/USA/Canada & Alaska, FS Genesis USA/Europe and SB3. FPS are set to 30Both the above flights were from KLAX (Cloud 9) to EGLL (Heathrow Extreme) in the PMDG 747-400On the first flight all my sceneries were active but for the second flight I deactivated all addon sceneries except for both airports and UT Europe and yet I still got an OOM.My specs:ASUS M2N32-SLI Deluxe M/Board4gb RAM....virtual memory/paging file size = 4605mb (Mem usage adjusted for best perf of programs)2 x Nvidia GeForce 7900 GTX cards....each driving it's own monitor and drivers updatedAMD Athlon 64-FX-62 Dual Core ProcessorI've searched these forums and found loads of things re OOMs but to be honest most of it is way over my head. I've tried the 3gb switch but that stops my BA Virtual ACARS prog from working so I've deleted the switch.Before the flights I defraged the disk putting all FS files to the outer edge for faster access times; run disk cleanup; run "SmartClose" to shut down all unecessary background progs; run FS Manager to check for scenery errors...yet still got the OOMs I've read many times that using a 64bit system resolves the OOMs but does that mean I and others with a 32bit system cannot do "long" long hauls ? I've done "shorther" long hauls (about 8hrs duration) with no problems.Would really like to know if there is a solution (except for going to 64bit).Dave.

Share this post


Link to post
Share on other sites

Thanks Dave, I am in the same boat. Never had any problem befor it just started this year. Please anyone help in simple term.Al

Share this post


Link to post
Share on other sites

Dave Unfortunately for you , you seem to be running two of the most notorious things i have personally found for OOMsUT europe and Heathrow extreme !!There are patches and upgrades to both these great scenerys but for the life of me I always get an OOM with themTo give you an idea , without them I have and can fly from EGLL to WSSS with active sky, PMDG 747 ,FSrealtime ,FSflightkeeper . AI at 100% all running and make that trip in real time with no problems There are about a thousand solutions to the problem , dual afcads ,ai,landclass,but I think in the long term the best solution is to upgrade to a 64bit os.I have'nt done so yet because I have no problems but I will , it just seems like the next logical step in improving the sim in general , and at least i wont be checking the task manager PF window when Im on finals at egll and everything starts to slow down :( Mark

Share this post


Link to post
Share on other sites

What to you mean by upgrated to 64 bits? Do you mean more ram?Sorry for my ignorance.Al

Share this post


Link to post
Share on other sites
What to you mean by upgrated to 64 bits? Do you mean more ram?Sorry for my ignorance.Al
My bad should have explained better . Have a look at this post ,I think it will go some way in explaining what i meant64 bits?Mark

Share this post


Link to post
Share on other sites
My bad should have explained better . Have a look at this post ,I think it will go some way in explaining what i meant64 bits?Mark
Hi Mark,Thx for the reply.I dont use ai (its disabled as far as I know) as I only fly online using Vatsim.I've done a search on my system for duplicate afcads but nothing found. Used FS Manager for landclass issues etc and "repaired" the few that it found.Am at a loss now as what to do. As you said, the best solution would be to upgrade to 64bit but to be honest that can wait as the only problem I get with FS9 is the OOM's on the "long" long hauls. Guess I'll just stick to flights of no more than 8hrs.Thx for all your help.Dave.

Share this post


Link to post
Share on other sites

The number of OOMs on my system reduced to almost nil after I doubled the size of the windows page file (virtual memory). In another forum, I read it's a good idea to reduce the mesh complexity to 95% in lieu of 100%. This reduction is barely noticeable but reduces the number of calculations by your CPU (and subsequent use of memory space) significantly.Also; don't "play" to much. FS does not like it when you constantly switch views, make screenshots, switch windows, etc. I always try to do that as minimal as possible (although I admit I LOVE :( looking from the outside during flight).Regards,Frank

Share this post


Link to post
Share on other sites
Thanks, I'll try that.Al
Still have the same problem. I wonder if I had more meg of ram if it would help?Al

Share this post


Link to post
Share on other sites
Still have the same problem. I wonder if I had more meg of ram if it would help?Al
I have re-read this post and as Jim asked "how much ram is enough"How much ram memory do you have ?If you are running A 32bit OS , XP or Vista then Anything over 4gig (3.2 if you want to be pedantic)will just be a waste of money .As i have said before I can take the PMDG 747 from EGLL and let it fly for 13 hours in real time to where ever (ie wsss, rjtt) with all sliders right(apart from autogen thats off) 100% ai and a host of other programs running , and I dont get OOm,s with 2gig of ram If you have tried the 3gb switch and you are still getting OOm,s then you may need to have a look at your add-on installations for a potential leak, though I dont envy you that task The only other thing i can suggest is to do a search about processes that are running on your PC, and eliminate as many of them as possible There is plenty of good advice to be had Good luckMark

Share this post


Link to post
Share on other sites

There are only three solutions to OOM problems and these have already been listed above, but just to reiterate and emphasize, they are as follows:1) Implement the /3GB /userva swtiches (where userva = system ram - 768Mb - video ram; otherwise excessive paging will occur); or2) Upgrade to a 64bit operating system; or3) Reduce the complexity of the scenery environment.There are no other solutions that will yield a resolution to these problems, with the caveat that the 3rd option is pretty much a stop-gap measure and any new complex airliner, additional AI planes (if any) or a detailed airport may upset the balance. Keep in mind that all these also have their downsides. The 3GB switch messes up AES and may cause issues with other software installed on the system, while moving to a 64 bit system can cause compatibility issues and so on and so forth. Personally, I'm currently running XP 32bit SP3 with 4Gb of RAM and the /3GB switch enabled and haven't had an OOM event since implementing it.

Share this post


Link to post
Share on other sites

Mark & fellow simmersWith my recient upgrades my FS9 has improved... Great!FSX is still out of the question. So much so I uninstalled it last night!So what is this: userva swtiches (where userva = system ram - 768Mb - video ram; otherwise excessive paging will occur)Don't recall that but dropping the complexity to 95% helped.JerryEQ:AMD Phenom 9550ATI 8400 w/ 5123GB Ram

Share this post


Link to post
Share on other sites

Mack what do you mean by /3GB switch enabled ? Where can I find it and howcan I do that?Al

Share this post


Link to post
Share on other sites
Mack what do you mean by /3GB switch enabled ? Where can I find it and howcan I do that?Al
The reason FS9 craps out with OOM errors (which manifest themselves either with the dreaded OOM message box or much more often with just a black screen CTD) is because it busts through its limit of 2Gb virtual memory for user files (32bit OSes are limited to 4Gb virtual memory space, 2Gb for the kernel and 2Gb for software). What the /3GB swtich (in boot.ini) does is allow software to use 3Gb of virtual memory at the expense of kernel space. What /userva does is give some of that memory back to the operating system (which it really needs!), by fine tuning how much memory is allocated to the user virtual address space. For example, in my system, I have 4Gb of RAM, with a 9800GX2 gfx card (512+512=1Gb of memory). Since the OS maps the gfx memory to the address space, this memory has to be accounted for when fine tuning the userva allocation and it is done via the rough calculation that I mentioned in my previous post, that is, for my example: 4096 (total) - 768 (for the OS) - 1024 (for the gfx card) = 2304 Mb for apps. An incorrect userva setting can, at its least, cause significant paging and erratic texture loading behaviour and at its worst, create significant instability. FWIW, I haven't had any problems, but YMMV.Of course, to take advantage of the increased user space via the /3GB and /userva switches, FS9.exe has to be patched to make it large address aware (the patch is on the net somewhere, you can find it via google).Hope at least some of this made sense.Here's an excerpt from my boot.ini so you can see what it looks like once set up (you may or may not have additional switches in there):[boot loader]timeout=30default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS[operating systems]multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=alwaysoff /fastdetectmulti(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional 3GB patch 2304" /noexecute=alwaysoff /fastdetect /3GB /Userva=2304Also, as a word of warning, should you decide to mess around with boot.ini, make sure you set it up like I have above in order to have a "safe" config to fall back on should something go wrong :)

Share this post


Link to post
Share on other sites

I tried that and still same problem on long flight to an airport with nice pay scenery like aerosoft.Any other suggestion? I am getting frustrated.ThanksAl

Share this post


Link to post
Share on other sites
I tried that and still same problem on long flight to an airport with nice pay scenery like aerosoft.Any other suggestion? I am getting frustrated.ThanksAl
Okay!!So if what I have read is correct you have done all that has been suggested and you are still having problemsBefore you start down the road of trouble shooting which is a PITA Have a little look in your addon scenery files or any scenery file that you have added and see if there are any empty texture folders.What is worth a try is to turn off 50% of your Add on scenerys and try a flight that you know will give you an OOM If you still get one at least you know it is not that 50% of your add on scenery :( It is a tedius job and at times it seems it would be quicker just to re install BUT if you go down that road you may install the same problematic addon again .There are several recent posts about this problem and good ideas about trouble shooting them.The short answer is , there is no short answer , I guess your left with trouble shoot or a 64bit OSMark

Share this post


Link to post
Share on other sites

Mark I feel stupid to ask you that but howcan I bring the add on at 50%?Thanks man.Al

Share this post


Link to post
Share on other sites
Mark I feel stupid to ask you that but howcan I bring the add on at 50%?Thanks man.Al
It is not stupid to ask it is stupid not to!At the main menu click on settings (bottom left coloumn )Then click on Scenery library you should now see a window with all your sceneries .next to them is a box with a red tick mark un tick any scenery you wish to de activate and then re start MSFS You can re activate them by just ticking the box again but you will have to restart the simAny problems let us know Mark

Share this post


Link to post
Share on other sites

Maybe I'm just not understanding this but I think the solution is right there in front of you. I've read all these people getting OOM errors and the one thing in common is there running 3 or more gig of memory on a 32 bit system.I'm running FS9 on a buisness laptop (with quite a bit of other apps including Norton Antivirus etc) which shares its memory with the video card (on board video) and I can run the PMDG 747 and MD-11 on 10-12 hours realtime flights without an OOM. This laptop only has 2 gig memory. (Granted I'm not crazy about addon scenery; tried freeware Boston, very nice, and I got the only crash in FS I've ever had with this laptop; think that was AES so got rid of it also, so I have none and only use Ultimate Terrain, Activesky and Radar Contact)I would say take your system down to 2 gig of memory and see if you still get OOM errors. If 32 bit systems and FS9 and XP don't handle 3 gig of memory very well why use 3 gig? Its cheaper than buying 64bit xp or vista I suppose.I've been watching my paging file while flying long flights and it has never exceeded 1.50 gig with a system managed paging file of up to 4 gig.I don't know though I'm just a boring flyer with nothing extra (except for addon Planes) so maybe thats why I don't see these issues; and it could be I'm completely wrong.Just my two cents worth,Good luck,Sean

Share this post


Link to post
Share on other sites

So if I read you right your suggestion isIf you have 3 or 4Gig of ram and you are experiencing OOMs , then remove some RAM. Different approach I suppose :( Mark

Share this post


Link to post
Share on other sites