Archived

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

markturner

Error-your computer has run out of available memory

Recommended Posts

Hi, I just got the above message after the game crashed. You can see my machine is pretty powerful. I have not had this message before and was using photoscenery, with no autogen, the game was running very well and smoothly beforehand. Is this common? Do I need more memory? Does it mean graphics memory or RAM ? Thx, Mark

Share this post


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

Hi, I just got the above message after the game crashed. You can see my machine is pretty powerful. I have not had this message before and was using photoscenery, with no autogen, the game was running very well and smoothly beforehand. Is this common? Do I need more memory? Does it mean graphics memory or RAM ? Thx, Mark
Funny you should mention this, I just had the same thing happen yesterday. It usually happens about once a year and near as I can figure, it's nothing more than a means for the nice folks at Microsoft to let you know that just because you think you are master of your computer, you're not! Outside of the aggravation factor ( I was hosting a multiplayer session so EVERYONE lost the session), I just restart FSX and don't worry about it. Your milage may vary.

Share this post


Link to post
Share on other sites

EDIT: 05/06/09 - Post Removed by Owner

Share this post


Link to post
Share on other sites
Hi, I just got the above message after the game crashed. You can see my machine is pretty powerful. I have not had this message before and was using photoscenery, with no autogen, the game was running very well and smoothly beforehand. Is this common? Do I need more memory? Does it mean graphics memory or RAM ? Thx, Mark
Since you have a 64 bit OS, you shouldn't have to worry about OOM's but I have heard of others with 64 bit systems having OOM's too. I would recommend this link to Nick N's suggestions for tuning up your system: http://www.simforums.com/forums/forum_posts.asp?TID=29041Vista has a memory diagnostics program but it's quite lengthy to run. I run a little program like Everest Ultimate that tells me everything going on with my system. Jim

Share this post


Link to post
Share on other sites

thx for the replies guys, I have set up my install using Nicks guide, I thought my problem might be different from the usual OOM errors, ( which i have read up on extensively) as they are usually preceded in game by graphical glitches, tearing, etc, none of which i had, it just stopped. This is why I thought it was unusual. i will check out your article, N4Gix, thx.I also have everest, how best can I use it to diagnose what is happening within FSX memory wise? thx, Mark

Share this post


Link to post
Share on other sites
I also have everest, how best can I use it to diagnose what is happening within FSX memory wise? thx, Mark
Good question. I have never used it to diagnose what's happening within FSX. FSX is CPU intensive so that's the key component for FSX. Of course, lots of memory is good too but I don't think FSX uses/manages memory all that well. Lots of previous discussions on this forum regarding that too! I don't put all my scenery sliders all the way to the right and that has been proven to be the best solution for me and I have crystal clear graphics and excellent frame rates as a result. Good luck resolving your issues.Jim

Share this post


Link to post
Share on other sites

Hi, N4Gix, you say the problem is relatively easy to fix, could you say how? the article appeared to refer to 32 bit systems, i am running 64 bit. At the moment, i have windows set to manage the page file size. I just had the error happen again, the other thing I have noticed, is that the GUI is very slow, for eg, if I change any of the settings such as plane to fly or weather, it takes a while for the picture of the plane to appear, often, it will be graphically corrupted and will move very slowly. Does anyone know if having loads ( nearly 200 gb) of photoscenery is having an effect? Will it benefit me to leave areas I am not flying in unchecked in the scenery llibrary? I have my FSX installon a separate raptor hard drive, OS on another Raptor and most of my scenery and addons on the same drive as FSX. I have followed NickN's set up guide and am a loss as what is causing my issues.At the moment I am considering uninstalling it all again and starting from scratch, but that seems silly until I can identify the problem..My Pc should be capable of running FSX fine on the settimngs I use, I have loads of memeory, a powerful graphics card. I am confused!!!By the wa, you may have noticed I have another thread relating to some graphics issues I was having after using the HDR mod anfd the framerate limiter. Since I uninstalled all my drivers, took out the mod, cleaned the system and re installed drivers, the symptoms have gone, althouh now, I have the issue with the memory error and the GUI slowdown.thx, Mark

Share this post


Link to post
Share on other sites
Hi, N4Gix, you say the problem is relatively easy to fix, could you say how? the article appeared to refer to 32 bit systems, i am running 64 bit. At the moment, i have windows set to manage the page file size. I just had the error happen again, the other thing I have noticed, is that the GUI is very slow, for eg, if I change any of the settings such as plane to fly or weather, it takes a while for the picture of the plane to appear, often, it will be graphically corrupted and will move very slowly. Does anyone know if having loads ( nearly 200 gb) of photoscenery is having an effect? Will it benefit me to leave areas I am not flying in unchecked in the scenery llibrary? I have my FSX installon a separate raptor hard drive, OS on another Raptor and most of my scenery and addons on the same drive as FSX. I have followed NickN's set up guide and am a loss as what is causing my issues.At the moment I am considering uninstalling it all again and starting from scratch, but that seems silly until I can identify the problem..My Pc should be capable of running FSX fine on the settimngs I use, I have loads of memeory, a powerful graphics card. I am confused!!!By the wa, you may have noticed I have another thread relating to some graphics issues I was having after using the HDR mod anfd the framerate limiter. Since I uninstalled all my drivers, took out the mod, cleaned the system and re installed drivers, the symptoms have gone, althouh now, I have the issue with the memory error and the GUI slowdown.thx, Mark
Like me on several occasions on this forum, I miss the fact an individual has a 64 bit system. I see OOM and immediately respond. I didn't this time. As I recall, N4GIX wrote an excellent article on how to resolve OOM's in plain simple language. Sometimes individuals don't list their system specs and state they have an OOM and I'll respond and they'll hit me up with the fact they have a 64 bit system. Make me feel foolish for trying to help. So I hope you understand he didn't do it on purpose. He's extremely computer literate IMHO.Have you renamed or deleted the FSX config and restarted the sim? Perhaps a "tweak" or setting got corrupted. Check your scenery.cfg (the working one in C:/ProgramData) too. Since you had problems with the HDR mod, perhaps something is really amiss with your system. It works great for people with lessor systems. And you mention the frame rate limiter. I hope you eliminated that "mod" too. Also, make sure you have defragged recently. When you "cleaned the system" I'm wondering if you accidently deleted a needed registry entry or something like that. Also, make sure you are running FSX SP2 as the FSX.exe was modified by MS to "see" more than 2GB. You can still use SP1 but will have to hack the FSX.exe.In any case, you do have a good and updated system and you shouldn't be getting the OOM's when running FSX. I hope you can resolve your problem soon.Best regards,Jim

Share this post


Link to post
Share on other sites
Hi, I just got the above message after the game crashed. You can see my machine is pretty powerful. I have not had this message before and was using photoscenery, with no autogen, the game was running very well and smoothly beforehand. Is this common? Do I need more memory? Does it mean graphics memory or RAM ? Thx, Mark
Mark,You have 4GB of RAM. My system uses 1.4 at the moment. Let' say that you have 2.6GB left to use.I guess the system needs to allocate RAM as texture buffers for your graphics card. I'm not sure, but with may last card BIOS allocated the same amount of RAM that my card used (768MB). If we assume that the same principle is at work with your GTX280, then anohter 1GB is used.So left for FSX is 1.6GB. And if the memory is fragmented, you may very well run out of memory because Vista can't allocate enough to FSX.When I start up FSX, load the PMDG 747, go to the different views to make sure all textures get loaded, FSX will use about 1.6GB RAM.I'm afraid that 4GB RAM might be on the limit. Hopefully an expert will chime in and correct me if I'm wrong.

Share this post


Link to post
Share on other sites

EDIT: 05/06/09 - Post Removed by Owner

Share this post


Link to post
Share on other sites

Hi n4gix, thanks for the clarification, just a few questions before i dive in:Am I correct in assuming I only need to carry out the last bit titled"the following only applies to vista32 users"? ( the main bulk of the text relates to winxp?)Also, i just set up my page file as per NickN's instructions, with both sizes set at 3072.Does that make any difference? Is all I have to do:"Right click on command prompt from Start > All Programs > Accessories and select "Run as administrator". Enter this: BCDEDIT /set increaseuserva 2560 -or- BCDEDIT /set increaseuserva 3072 as desired. In other words, choose the size you wish to allocate. "And would I use 3072 ?Sorry for all the questions, but my skill level is somewhat below yours!!!!!thx, mark

Share this post


Link to post
Share on other sites
Mark,You have 4GB of RAM. I'm afraid that 4GB RAM might be on the limit. Hopefully an expert will chime in and correct me if I'm wrong.
Hey Ulf,I'm no expert... but the issue here is not the RAM size...Read the thread, and you'll see that the bottleneck is address space, confusing yes, but not the same as real memory.. :(

Share this post


Link to post
Share on other sites

EDIT: 05/06/09 - Post Removed by Owner

Share this post


Link to post
Share on other sites
Hey Ulf,I'm no expert... but the issue here is not the RAM size...Read the thread, and you'll see that the bottleneck is address space, confusing yes, but not the same as real memory.. :(
Bert,So the only explanation is that the OP is running FSX SP1 and not SP2 which may adress more memory.You say 4GB or 6GB doesn't matter. If he's running Vista 64, why don't I have these problems with OOMs? Some factor is missing in the equation.Edited: On more question. If 4GB or 6GB RAM doesn't matter, why does a 64 bit OS cure the OOM problem?Ulf B

Share this post


Link to post
Share on other sites
Bert,So the only explanation is that the OP is running FSX SP1 and not SP2 which may adress more memory.You say 4GB or 6GB doesn't matter. If he's running Vista 64, why don't I have these problems with OOMs? Some factor is missing in the equation.Edited: On more question. If 4GB or 6GB RAM doesn't matter, why does a 64 bit OS cure the OOM problem?Ulf B
Ulf, who knows what pushes any PC over the edge... I've had OOM problems on my system and they went away when I set the /3GB parameter. Try reading the MS articles that Bill references.. It would appear that with a 64bit OS, you can choose up to 4GB of address space for a 32 bit application, and it does not compete for space with the OS. That is very different from a 32 bit OS where the application and the OS somehow have to share 4GB and you, the user, get to pick the optimum division between application space and OS space (which includes the video buffer). Hence the recommendation for 2560 which is more than the default 2GB, but not so much that you starve the OS.

Share this post


Link to post
Share on other sites

Hi guys, i have done the cmd line change and used 3072 setting. Everything seems ok so far, but will need to do some testing over the next few days to make sure.I have also added to my knowledge, so thanks a lot for the advice!! Oh, and i am running accelaration version of FSX, so it should see the memory ok. I was also going to swap out 2 of my sticks of RAM for 2GB ones, so I will have 6GB. Do you think this will help, for loading textures if nothing else?And one last question, I have shedloads of photoscenery, does that move the goalposts in the waythat FSX loads and holds textures? Is more or less memory good in this scenario? FSX is on its own raptor, with the photscenery on the same drive in differwent folders. My OS is on its own raptor. thx, Mark

Share this post


Link to post
Share on other sites
And one last question, I have shedloads of photoscenery, does that move the goalposts in the waythat FSX loads and holds textures?
Yes, obviously it strains the system the more add-on scenery you have installed.If texture loading times are a problem (sounds odd) the next level you could look at is setting up a RAID array of multiple disks to increase input/output speeds. I've heard they can really boost loading times, especially if you have a lot of addon scenery loading going on.http://en.wikipedia.org/wiki/RAID + loads of tutorials on RAID all over the net

Share this post


Link to post
Share on other sites
Hi guys, i have done the cmd line change and used 3072 setting. Everything seems ok so far, but will need to do some testing over the next few days to make sure.I have also added to my knowledge, so thanks a lot for the advice!! Oh, and i am running accelaration version of FSX, so it should see the memory ok. I was also going to swap out 2 of my sticks of RAM for 2GB ones, so I will have 6GB. Do you think this will help, for loading textures if nothing else?And one last question, I have shedloads of photoscenery, does that move the goalposts in the waythat FSX loads and holds textures? Is more or less memory good in this scenario? FSX is on its own raptor, with the photscenery on the same drive in differwent folders. My OS is on its own raptor. thx, Mark
Mark,The use of bcdedit /set IncreaseUserVA nnnn on a Vista 64 bit OS is not needed!Nick Needham, who's an expert has posted on this: http://www.simviation.com/cgi-bin/yabb2/Ya...?num=1208959973Scroll down and you'll find a post "USING MORE/LESS or EQUAL to 2GIGS OF SYSTEM MEMORY IN WINDOWS XP x32 OR VISTA X32 with OOM".If you use 6GB RAM I guess your problems will be solved.

Share this post


Link to post
Share on other sites

EDIT: 05/06/09 - Post Removed by Owner

Share this post


Link to post
Share on other sites
Nick is a good friend of mine, but in this instance he is incorrect:I've already posted the reaon why (which is stated by Microsoft). When running any 32bit application under Vista x64, it is loaded under the WOW32 kernal. Because of this, it will behave precisely as though it were running under Vista x32. The only real difference being that under Vista x64/WOW32, the maximum VAS table increases from 3MB to 4MB if one (re)sets the boundary between the Application-slice and the OS-slice.http://msdn.microsoft.com/en-us/library/aa366778.aspxInterestingly enough, even 64bit applications running under Vista x64 are limited to only 2 GB with IMAGE_FILE_LARGE_ADDRESS_AWARE cleared... :(
Bill,Thanks for the information. I stand corrected. I'll apply the tweak immediately!

Share this post


Link to post
Share on other sites
Nick is a good friend of mine, but in this instance he is incorrect:I've already posted the reaon why (which is stated by Microsoft). When running any 32bit application under Vista x64, it is loaded under the WOW32 kernal. Because of this, it will behave precisely as though it were running under Vista x32. The only real difference being that under Vista x64/WOW32, the maximum VAS table increases from 3MB to 4MB if one (re)sets the boundary between the Application-slice and the OS-slice.http://msdn.microsoft.com/en-us/library/aa366778.aspxInterestingly enough, even 64bit applications running under Vista x64 are limited to only 2 GB with IMAGE_FILE_LARGE_ADDRESS_AWARE cleared... :( Well, how about that! Actually, as you've no doubt noticed, it takes all of 30 seconds or so to set the flags, and it is easily reversable... :(
BillWhat I posted is not incorrect.. it simply left out what I consider the wrong way of dealing with the situation There are 4 very good reasons why I did not mark my posts for the extenuating circumstance of Vista 64 and OOM1. WindowsXP x64 will not recognize the 3GB switch or USERVA so it can not be done with XP. In the case of XP x64 marking FSX RTM/SP1 with the LARGE ADDRESS WARE flag has been the solution for the issue. 2. Vista will allow tuning however on the rare occasion that MAY come up with V64 is usually if the user is not using SP2. SP2 is IMAGE_FILE_LARGE_ADDRESS_AWARE set. Otherwise it is very rare to see that issue although it may still appear if the right circumstances are in place. 3. If the user is not seeing OOM on a 64bit OS they DO NOT need to adjust that value. 4. I would make sure before suggesting that value be increased the user is not seeing some kind of issue with a bug in scenery first.In the event the issue appears and the user is on FSX SP1 and Vist64 I would suggest they manually mark FSX.exe SP1 IMAGE_FILE_LARGE_ADDRESS_AWARE set and verify addon intergity before increasing the value. I would only make that address space edit a last resort with V64 and marked FSX SP1/or SP2.I did not want everyone marking their 64bit Vista OS for something that was not needed, or, could be resolved the right way with marking fsx.exe SP1 or checking for a offending addon.. and especially in a 64bit OS that may not be dedicated to MSFS use alone. I have in the past suggested editing Vista64 when the right circumstances were reported, again.. very rare and something I usually do in PM so everyone does not jump on my post assuming it will make their frames go up and start changing things in their OS they really should not be messing with..The process for making FSX RTM/SP1 LARGE_ADDRESS_AWARE set (SP2/Acceleration DOES NOT NEED THIS)http://www.ntcore.com/exsuite.php <------------ download, installMake a backup of the FSX.exe file in the main Flight Simulator folder and place it somewhere safe. Using CFF Explorer browse to FSX.exe and open it in the application. (FILE

Share this post


Link to post
Share on other sites
BillWhat I posted is not incorrect.. it simply left out what I consider the wrong way of dealing with the situation
Okay, fair enough, make it "incomplete" then... I learn more every day, Nick! :(

Share this post


Link to post
Share on other sites
Okay, fair enough, make it "incomplete" then... I learn more every day, Nick! :(
LOL!"incomplete' works for me. Guilty as charged! :( I would much prefer when that rare situation come up people take the right steps in resolving the issue. The OP saw this with photo scenery and with a SP2/Acceleration install I would rather the user confirm the addon(s) first before editing userva and also let them know if their system is not dedicated to MSFS they need to keep in mind they adjusted userva in case another program may complain. One of the advantages to XP x32 is the user could create a defined boot.ini specifically for FSX use as you pointed out in your excellent write-up. Since his FSX install is LARGE ADDRESS AWARE there must be something placing one heck of a footprint on that system to OOMIf he sees it again he should start eliminating addons one by one till the culprit becomes obvious. Once it shows up I would approach the developer about the issue. There has been only 1 instance when I suggested the use of userva in Vista64/FSXSP2 and that was because the user refused to not use the addon causing the OOM. I never heard anything more about it other than the issue had appeard to be gone a day later so I do not know if the OOM returned or if the userva change worked. Not to say it does not happen more.. but of the 25 or so I have been asked to review with the exception of the one they were all SP1 and resolved with editing fsx.exe

Share this post


Link to post
Share on other sites

BillI just came across this in the hardware forumhttp://forums1.avsim.net/index.php?showtopic=249527and this here in the FSX forum: http://forums1.avsim.net/index.php?showtopic=249093the OP is having some serious problems that need to be addressed This one is quite off the wall and loaded with issues Inexperienced overclocking at work (my buddy set this up) and with the issues I see a possible corrupt OS.. along with error that should have nothing to do with the install/removal of the HDR tweak or FSP limiter <---- NO NO with photo scenery... and especially bufferpools @ 490000000 when there is no sign of audio crackle problems (and even if there is) is quite excessive and if the OS is trashed it will bring on all sorts of issues OOM included.. not to mention a few other things I see with the hardware itself and will try to addess in hardware as I have time :(

Share this post


Link to post
Share on other sites

Hi NickN, N4Gix, thx for the input, but I am more confused now. so I understand from your replies that basically the edit should not be required as my install is SP2 and so is already large address aware? OR do you still have to manually set the large address space as you described with the command line? BTW, I have removed the buffer pools line from my config file and have run the sim once, it seems ok. Over the course of the next few days, I will not do any further meddling, just run up the sim and see if its more stable and I get any further manifestations of trouble. BY that time, hopefully Nick will have had time to look into things a bit more. When I get in tonight, I will post as many details as I can about the system including my config file.One other piece of info i think all concerned should be aware of is that I did also try using FSautostart to start the sim , with some services disabled. I had some problems in that it froze a few times and may not have turned all services back on. I set it turn off and restart some services that I could see from the recommendation list that were ok to stop, like print spooler etc, I dont think I set any critical ones off, but you never know. I will also try and screenshot my services window for your inspection, in case there is some problems there. I am not using this programme any more BTW. My addons are many and varied, is there any place particular I should look for problems?Thx, Mark

Share this post


Link to post
Share on other sites