Jump to content
Sign in to follow this  
Husman Khan

Fsx Running out of memory

Recommended Posts

From the "whatever it's worth department..."

 

Prior to using the "MS Fix" cited above, Max9 has been struggling not to crap out on me with OOM errors. Since running the "fix file" though, I've actually had two instances of Max9 running simultaneously, along with Photoshop CS8, my email client, Windows Explorer, and IE8, plus whatever other services were loaded at boot time...

 

...without a single error occurring! :dirol:

 

That is so good to hear. and I am so excited.

 

I had quit simming because my Core 2 Duo couldn't handle FSX and then after 3 years, with the new IB build I was happy to be back until I started getting this OOM.

 

So.. I am glad to get rid of OOM ....

 

Manny


Manny

Beta tester for SIMStarter 

Share this post


Link to post
Share on other sites

Learn about "desktop heaps": http://blogs.technet...s-stations.aspx

Seems to me that changing this limits could actually hinder FSX performance, and this is why:

 

Raising the size of the desktop heap, which is used exclusively for Windows OS API (application programming interface, e.g. open a new window) stuff, actually steals precious 32 bit VM address space from FSX such that FSX now has less VM available to store its program specific stuff (which ironically increases the chances of OOM erros in some situations).

 

The above could be based on a wrong assumption on how the desktop heap is seen from the application (so forget what I wrote :blush:) ..but anyways I stand by the following. Now if bumping up these desktop heap sizes solves your specific OOM problem then its a good thing, otherwise leaving them alone is probably best...no FSX performance increase is to be had by messing with these sizes.


Rod O.

i7 10700k @5.0 HT on|Asus Maximus XII Hero|G.Skill 2x16GB DDR4 4000 cas 16|evga RTX 3080 Ti FTW3 Ultra|Noctua NH-D15S|Thermaltake GF1 850W PSU|WD Black SN750 M.2 1TB SSD (x2)|Plextor M9Pe .5TB NVMe PCIe x4 SSD (MSFS dedicated)IFractal Design Focus G Case

Win 10 Pro 64|HP Reverb G2 revised VR HMD|Asus 25" IPS 2K 60Hz monitor|Saitek X52 Pro & Peddles|TIR 5 (now retired)

Share this post


Link to post
Share on other sites

Heh, I just wanted to reply as I saw you striked it through.

Having read part of that text and gave up after a while due to my non-technical understanding of windows memory management, my question is only one: why would MS put this as a fix up if it would hurt performance? The real question is does it really hurt performance, at all??

Share this post


Link to post
Share on other sites

I applied this fix and did a flight between KPHX & KLAX in the NGX with REX E. On approach into KLAX I ran into the OOM warning sound. Just before I turned base leg for 6L FSX crashed and reason was OOM. I might take the time to re-install FSX it's been about a year.

 

I am guessing the systems needs a cleaning and fresh install. Oh well hopefully someone comes up with a new simulator to replace FSX.


5Take Care, Will Clark

My computer: Intel 14900K, Motherboard ROR Maximus Z790 Formula, PSU Dark Power 1600, Ram DDR5 (7200) Vengeance 32GB CL38, ASUS 4090, Keyboard Logitech ASUS, Mouse ROCCAT LEADR Wireless, Corsair M.2 SSD 4TB x2, Headset Astro A50 Wireless, Microphone Elgato Wave 3, Stream Deck Elgato XL, GoXLR, Loopdeck Live, Chair Steelcase Gesture with Headrest, Case: Lian Li O11 Dynamic XL ROG White, Custom Built water cooling, Ek Lian li xl distro plate, Fittings EK & Bitspower, Monitor LG C1 48 OLED, Desk Speakers Audio Engine A5+ White.

Share this post


Link to post
Share on other sites

Upping these limits will not hinder FSX performance, nor will it increase performance. It only decreases the likelyhood of Windows OS API stuff from running out of memory and causing an OOM. Most likely Windows manages these individual "desktop heaps" in its own VM space rather than the application's VM space. If you open lots of views in FSX, upping these limits could actually help but only in the case where opening a new view causes an OOM.


Rod O.

i7 10700k @5.0 HT on|Asus Maximus XII Hero|G.Skill 2x16GB DDR4 4000 cas 16|evga RTX 3080 Ti FTW3 Ultra|Noctua NH-D15S|Thermaltake GF1 850W PSU|WD Black SN750 M.2 1TB SSD (x2)|Plextor M9Pe .5TB NVMe PCIe x4 SSD (MSFS dedicated)IFractal Design Focus G Case

Win 10 Pro 64|HP Reverb G2 revised VR HMD|Asus 25" IPS 2K 60Hz monitor|Saitek X52 Pro & Peddles|TIR 5 (now retired)

Share this post


Link to post
Share on other sites

An OOM is not only caused by opening new views... it is also caused by simple high memory usage through scenery, LOD 6.5, high res aircraft textures and the terminally flying through such area.

Share this post


Link to post
Share on other sites

Is there a known downside to that fix?

 

Just asking stupid because it's not there by design or comes via the Windows Update feature.

Share this post


Link to post
Share on other sites

All I can say is I don't understand a lot about the technical discussion being presented but I did install the fix two days ago and before the installation I would usually get at least one or more OOMs during the day flying FSX. So far I have not received one OOM message. I have also not noticed any change in performance.

 

Thanks, Omni


Carl

PC AMD Ryzen R7-5700G (8-Core) processor), AMD Radeon RX 6600 Graphics 8GB/ 2TB HD + 500GB SSD,  16GB DDR4 3200MHz RAM, Win11

 

_____________________________________________________________________________________

Share this post


Link to post
Share on other sites

Are you guys applying the fix manually or letting the it do it automatically? I have W7 64x.


Eric 

 

 

Share this post


Link to post
Share on other sites

I installed it via the hotfix auto installer. From what I can see all it did was change the value:

 

SharedSection=1024,20480,512

 

to

 

SharedSection=1024,20480,1024

 

I am also on W7 64bit

Share this post


Link to post
Share on other sites

Funny. My previous setting was 768, and not 512. And I looked on the net, they say that W7 X64 default is 768. Why you had 512 as default beats me...

Share this post


Link to post
Share on other sites

Cool. DirectX Runtime updates are not on Windows Update either, but you still need them.

 

I checked my system and it already had the fix. Maybe that is why I have never had a OOM or CTD on my three computers.

 

At first glsnce, it appears to be a better solution for OOM's on 32 bit systems than the /3g switch. The magic appears to be it allows Windows to close some operations and give FSX more headroom. I don't have any computers with 32 bit Windows to test it.

 

Word Not Allowed, maybe you should add this procedure to your guide. It seems to have helped some people here and might help others in the future. Shouldn't hurt if it's a Microsoft validated fix.

 

I think 512 is default for 32 bit Windows.

 

Dave

Share this post


Link to post
Share on other sites

My previous setting was 768, and not 512

 

Same here with W7 64x prior to the fix.


Eric 

 

 

Share this post


Link to post
Share on other sites

I guess I need to try this. I have frequent OOM errors in very dense scenery areas in DX9 mode, although this does not seem to happen in DX10 Preview mode. Is there any reason why that would be the case?


Christopher Low

UK2000 Beta Tester

FSBetaTesters3.png

Share this post


Link to post
Share on other sites

I think DX10 Preview mode possibly has better memory management or better programming, Christopher. Over the last three weeks of DX10 flying, experimenting with dozens of different load combinations, aircraft, scenery, airports, weather, AI - my machine has got nowhere near the usage that the same settings in DX9 would create.

 

Regarding the stack limits - I checked mine, win7-64, and it was the same as Al Stiffs: 1024,20480,512, so I manually changed it to 1024,20480,1024.



i7 4790K@4.8GHz | 32GB RAM | EVGA RTX 3080Ti | Maximus Hero VII | 512GB 860 Pro | 512GB 850 Pro | 256GB 840 Pro | 2TB 860 QVO | 1TB 870 EVO | Seagate 3TB Cloud | EVGA 1000 GQ | Win10 Pro | EK Custom water cooling.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...