Microsoft Flight Simulator

Microsoft Flight Simulator

View Stats:
Out of memory errors 0x80000003
After downloading 2 new aircraft I am conisistently getting out of memory errors in FS and it crashes more often. It is not the fault of the new aircraft. They are the An-225 and the Cockspur PH 100. I turned off use simple models for ground aircraft long ago, but I turned it back on just to see if that was it. Then I set the ground plane variety to medium to conserve memory. But what is interesting is perfmon and Task Manager are not showing abnormal memory usage by FS 2020.

It seems to me that FS 2020 is simply allocating memory with no thought for how much is left or how much has been allocated to them by the system. At some point, it throws this exception and gets shut down.

Surely they anticipated that the more planes people downloaded, and thus the more that were used by the game, that at some point memory would become an issue. All traffic types are at 50%.

I was finally able to get the sim to load without crashing by doing the above steps, but it still crashes from time to time in flight simply b/c it is trying to allocate too much memory.

Is anyone else seeing this? I have 16gb VRAM and 32gb system RAM. Plenty for this sim. I removed all mods just to see if one of them was faulty or not up to date with recent updates, but none of those fixed it. This is a memory allocation issue pure and simple.
Last edited by ZombieHunter; Aug 7, 2024 @ 2:41pm
< >
Showing 1-15 of 26 comments
★Macman★ Aug 7, 2024 @ 6:19pm 
Just use FSLTL and it's INJECTOR as these are far greater plus effects and better FPS and proper SIDS/STARS when using the API link. You can then turn AI TRAFFIC OFF and set it on HIGH/ULTRA VARIETY.
https://flybywiresim.com/
ZombieHunter Aug 7, 2024 @ 8:14pm 
That doesn't answer any my question.
Twelvefield Aug 8, 2024 @ 12:04am 
Memory allocation isn't my expertise, but I think you are jumping to conclusions. Well, for one thing you don't say much about your system or your O/S.

So I have to jump to an alternate conclusion: it's not MSFS, because MSFS does from what I know take into account your add-ons, and when you are lowering your AI planes, it should compensate. Still, 50% traffic is a lot for me, I keep my air traffic at 10% at the most, or turn it off altogether. I guess you like hearing the ATC talk to itself.

My conclusion is that you have an issue with Windows. That seems more likely, since the problem you are reporting seems uncommon to me for MSFS, but very common for Win. So, try this, to automatically allocate virtual memory:

From the Windows Search Bar type Performance.

Choose the Adjust Appearance and Performance of Windows. This will pop a Performance Options window.

Click on the Advanced tab.

Click on the Change… button in the Virtual memory section.

Check the box Automatically manage paging file size for all drives

Click OK

Reboot your computer

I'm also going to throw this in, from the Windows Helpdesk, steps you can do to troubleshoot your onboard memory. No doubt you have a leak, but the cause of the leak can be any number of things. Best to diagnose your hardware and be certain that's not letting you down:

https://answers.microsoft.com/en-us/windows/forum/all/how-do-i-get-rid-of-the-error-exception-break/cb222a25-89c2-4b36-910e-9130bc686cba
Last edited by Twelvefield; Aug 8, 2024 @ 12:07am
ZombieHunter Aug 8, 2024 @ 2:27pm 
Originally posted by Twelvefield:
Memory allocation isn't my expertise, but I think you are jumping to conclusions. Well, for one thing you don't say much about your system or your O/S.

So I have to jump to an alternate conclusion: it's not MSFS, because MSFS does from what I know take into account your add-ons, and when you are lowering your AI planes, it should compensate. Still, 50% traffic is a lot for me, I keep my air traffic at 10% at the most, or turn it off altogether. I guess you like hearing the ATC talk to itself.

My conclusion is that you have an issue with Windows. That seems more likely, since the problem you are reporting seems uncommon to me for MSFS, but very common for Win. So, try this, to automatically allocate virtual memory:

From the Windows Search Bar type Performance.

Choose the Adjust Appearance and Performance of Windows. This will pop a Performance Options window.

Click on the Advanced tab.

Click on the Change… button in the Virtual memory section.

Check the box Automatically manage paging file size for all drives

Click OK

Reboot your computer

I'm also going to throw this in, from the Windows Helpdesk, steps you can do to troubleshoot your onboard memory. No doubt you have a leak, but the cause of the leak can be any number of things. Best to diagnose your hardware and be certain that's not letting you down:

https://answers.microsoft.com/en-us/windows/forum/all/how-do-i-get-rid-of-the-error-exception-break/cb222a25-89c2-4b36-910e-9130bc686cba
The crash happened after I added 2 aircraft and left my settings as is. That is not a problem with Windows. That is not a problem with anything. That is a problem where the game is trying to allocate more memory than it should and was slapped on the hand by Windows and shut down. None of what you said has any bearing on this. All of that 'stuff' is already setup in my system and far more. All of that braindead day 1 PC owner stuff you mentioned has no bearing on this.

A game should not crash if you max your settings out to the moon due to memory allocation. It just should not. It should account for it and / or gracefully recover. But an outright crash to desktop with an HR code is not acceptable behavior. I will report the bug to Asobo. It should not crash if I set traffic to 100% or 1%. It still should understand that it cannot use 50 models of all the aircraft I have available and try to put them on the ramp, memory size be damned. That is not what it should do.

It is not my fault it tried to allocate more RAM than was available. Nor is it my PC's fault. What it does mean is that regardless of how much RAM you do have, eventually FS 2020 will crash (such as at larger airports) because it does not properly account for how much memory is left or there is a bug with it.

I'm on a fresh install of Windows 11 and everything has checked out 100%. Nothing is wrong. The issue is FS 2020.
Last edited by ZombieHunter; Aug 8, 2024 @ 2:31pm
udidwht Aug 8, 2024 @ 7:35pm 
Be sure Windows is completely up to date including all your apps within the MS store such as XBox, Game services etc...

then do the following...

Be sure that all the MS Store apps are up to date....Xbox, Game services etc....then

Open a command prompt with admin rights…

Go through each of the following steps one at a time. Copy each line, one at a time , paste it into the Dos window (crtl + V) and press return

and it will then run. Wait until each runs and finishes before you move on to the next one.

When you are completely finished, Restart your computer and then try to see in MS2020 will start and run properly

Dism.exe /online /Cleanup-Image /checkhealth

Dism.exe /online /Cleanup-Image /scanhealth

Dism.exe /online /Cleanup-Image /Restorehealth

sfc /scannow

Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore

Dism.exe /Online /Cleanup-Image /StartComponentCleanup

RESTART your computer as the last step. Then go for a test flight.
ZombieHunter Aug 8, 2024 @ 7:50pm 
Originally posted by udidwht:
Be sure Windows is completely up to date including all your apps within the MS store such as XBox, Game services etc...

then do the following...

Be sure that all the MS Store apps are up to date....Xbox, Game services etc....then

Open a command prompt with admin rights…

Go through each of the following steps one at a time. Copy each line, one at a time , paste it into the Dos window (crtl + V) and press return

and it will then run. Wait until each runs and finishes before you move on to the next one.

When you are completely finished, Restart your computer and then try to see in MS2020 will start and run properly

Dism.exe /online /Cleanup-Image /checkhealth

Dism.exe /online /Cleanup-Image /scanhealth

Dism.exe /online /Cleanup-Image /Restorehealth

sfc /scannow

Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore

Dism.exe /Online /Cleanup-Image /StartComponentCleanup

RESTART your computer as the last step. Then go for a test flight.
None of that has anything to do with the issue. Everyone always posts this and it is not the solution to every computer problem known to man. Ridiculous.

Some problems actually require some knowledge and diagnostics as opposed to just regurgitating random crap from the internet.
Last edited by ZombieHunter; Aug 8, 2024 @ 7:52pm
Twelvefield Aug 8, 2024 @ 11:49pm 
Wow, you're on a bender. Calm down, you're not helping anything. What if someone else has the same problem? They have to read your bile. I can't say I'm thrilled by the way you are acting here, either, we're TRYING TO HELP.

If you don't like it, then you've said your piece and you can be on your way.
ZombieHunter Aug 9, 2024 @ 1:46pm 
Originally posted by ★Macman★:
Fix any Drive Errors...
https://www.youtube.com/watch?v=mZH1XiqxuyI
It isn't a drive error.
★Macman★ Aug 9, 2024 @ 3:58pm 
Did you run WIN UPDATES again as the last one fixed a Memory issue for some Updates to work.
ZombieHunter Aug 9, 2024 @ 4:00pm 
Originally posted by ★Macman★:
Did you run WIN UPDATES again as the last one fixed a Memory issue for some Updates to work.
It isn't a Windows update issue. This error has only happened in FS 2020. It has not happened in anything else on my system.

The only other crashes in event viewer are from Car Manufacture, which is an Early Access game and to be expected and from Dead Island 2 which has known stability issues. Both myself and my friend frequently crash during coop sessions. Actually he crashes more than I. I see about 2 crashes for me in 2 months.

FlightSimulator.exe crashed 4 separate times with this exception code and since then it has not thrown that same code. I should not have to change settings to get it to stop crashing. What was interesting was if I went to an airport with a relatively decent size ramp it would crash. If I went to something way out west in the middle of nowhere that was relatively small, it ran just fine.

So either something in packages->official got borked other than just fs-core or FS 2020 is not managing memory correctly. Given what I've seen from this product during updates with regards to file corruption and/or getting stuck on a file, and with memory consumption during runtime I would say it could be either or both.

I also found posts about this on general MS forums (not flight simulator) and on the official forums. What was suggested was to increase the page file size. But the person did this and reported that eventually it still had the same issue. Increasing the page file only solved it until FS 2020 tried to allocate more and more and then it crashed again.

I was not getting this until recent updates and really not until I downloaded 2 new aircraft. Now all of a sudden it seem some point has been reached where the sim craps itself memory-wise and I have to babysit it and hold its hand b/c it is incapable of doing it correctly by itself.
Last edited by ZombieHunter; Aug 9, 2024 @ 4:20pm
★Macman★ Aug 9, 2024 @ 4:19pm 
Do you use Fixed Virtual RAM or a Fixed one? MSFS has caching issues for WEATHER to load. I have this and still needs time or using the old change PRESET and back to LIVE to load it after a short time. It hardly ever loads into WORLD MAP. Wondering if Fixed Virtual RAM helps this.
ZombieHunter Aug 9, 2024 @ 4:25pm 
Originally posted by ★Macman★:
Do you use Fixed Virtual RAM or a Fixed one? MSFS has caching issues for WEATHER to load. I have this and still needs time or using the old change PRESET and back to LIVE to load it after a short time. It hardly ever loads into WORLD MAP. Wondering if Fixed Virtual RAM helps this.
Nah I think Virtual RAM might fix it for a bit until it tries to allocate more than that allows as well. The issue with virtual RAM is it is a band-aid to the problem. So what FS would do in that instance b/c it is a memory hog and can't manage memory correctly is continue to allocate until it had to go to virtual RAM at which point the sim performance would suffer during asset loads and so on. It would only run out of RAM then when it ran out of disk space. But the problem remains that, while this is not a leak per se, it has the hallmarks of it b/c what it is doing is continually allocating memory and perhaps not releasing it when necessary.

I just boosted it to 8000 to 16000. It was at 5000. I just updgraded to 11, so perhaps I need more physical RAM for this hog. I hate this band-aid fix that will do nothing but cause performance issues. Guess I need to drop another 32Gb in the system so misbehaved programs don't get their hand slapped by the OS for being stupid with memory allocations.
Last edited by ZombieHunter; Aug 9, 2024 @ 4:48pm
★Macman★ Aug 9, 2024 @ 4:42pm 
About the TASKBAR going off and back again... I have had this after one WIN11 Update around April but solved this as it was only occurring for stretching my TASKBAR across 2 Monitors of different RES Sizes. I fixed this after trying all the Registry Reset Tweaks known for this plus I ended up just not stretching the TASKBAR. It happens due to not enough allocated Memory in this area within the Recovery Partition. One FIX is to resize this. Search more about all things going on like this.

https://www.guidingtech.com/best-ways-to-fix-taskbar-disappeared-or-missing-on-windows-11/
Last edited by ★Macman★; Aug 9, 2024 @ 5:38pm
udidwht Aug 12, 2024 @ 10:48pm 
Originally posted by ZombieHunter:
Originally posted by udidwht:
Be sure Windows is completely up to date including all your apps within the MS store such as XBox, Game services etc...

then do the following...

Be sure that all the MS Store apps are up to date....Xbox, Game services etc....then

Open a command prompt with admin rights…

Go through each of the following steps one at a time. Copy each line, one at a time , paste it into the Dos window (crtl + V) and press return

and it will then run. Wait until each runs and finishes before you move on to the next one.

When you are completely finished, Restart your computer and then try to see in MS2020 will start and run properly

Dism.exe /online /Cleanup-Image /checkhealth

Dism.exe /online /Cleanup-Image /scanhealth

Dism.exe /online /Cleanup-Image /Restorehealth

sfc /scannow

Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore

Dism.exe /Online /Cleanup-Image /StartComponentCleanup

RESTART your computer as the last step. Then go for a test flight.
None of that has anything to do with the issue. Everyone always posts this and it is not the solution to every computer problem known to man. Ridiculous.

Some problems actually require some knowledge and diagnostics as opposed to just regurgitating random crap from the internet.

Absolute nonsense. You have no clue what you're talking about.
< >
Showing 1-15 of 26 comments
Per page: 1530 50

Date Posted: Aug 7, 2024 @ 2:40pm
Posts: 26