Investigating MSFS 2024 RAM pressure: major performance improvement from periodic RAMMap cleaning

posting cause i like to fix and find probelms other people overlook, or tend to just accept normal answers to.


Tool now available

The first public release candidate of Nocturne MSFS Memory Helper is now available on GitHub. It includes the complete source, build instructions, documentation, checksums, VirusTotal report and release download:

Please read the included safety information before using it. This remains an investigation tool and is not presented as a fix for every MSFS performance problem.

I have been investigating several recurring MSFS 2024 performance problems, including gradual degradation during long flights, arrival stutters, resource warnings, and instability as system RAM becomes crowded.

After extensive settings changes, repeated flights, and testing several possible causes, system-memory pressure appears to be one of the primary causes of these problems on my system.

Periodically clearing retained physical memory has allowed MSFS to run reliably better for me. I am now working to determine which cleaning options provide the benefit and whether a small, reliable tray program can eventually make this workaround safe and practical for other users.

This remains an investigation—not an official fix—and I would like results from other systems.

Independence disclaimer

I am an independent MSFS user. I am not affiliated with Microsoft, Asobo Studio, or the MSFS development and testing teams in any meaningful capacity.

This is a personal investigation and possible community workaround. As far as I know, the developers would only receive these findings through ordinary community bug reports.

Important detail about my installation

Everything MSFS makes available for local download is downloaded and installed on my system.

My results currently apply only to this heavily installed configuration. I do not yet know whether users who rely primarily on streamed assets will experience the same memory accumulation or receive the same benefit from cleaning.

I also normally have additional programs and services running, including:

  • SayIntentions

  • GSX

  • Aircraft-specific systems and applications

  • Locally installed scenery and other content

This configuration may expose memory-management problems more aggressively than a smaller or mostly streamed installation.

System specifications

  • CPU: Intel Core Ultra 7 265K

  • Motherboard: ASUS ROG Strix Z890-E Gaming WiFi

  • RAM: 32 GB Corsair Vengeance DDR5-6400 CL36

  • GPU: EVGA GeForce RTX 3080

  • Storage: Crucial P3 Plus 1 TB PCIe 4.0 NVMe SSD

  • CPU cooler: Corsair iCUE Link H100i 240 mm AIO

  • Resolution: 2560×1440

Relevant graphics settings

  • Display mode: Full screen

  • HDR10: Enabled

  • Exposure compensation: -0.3

  • Anti-aliasing: NVIDIA DLSS Super Resolution

  • DLSS mode: Quality

  • AMD FidelityFX Sharpening: 100

  • Frame Generation: None

  • V-Sync: Enabled

  • V-Sync interval: Half refresh rate

  • NVIDIA Reflex Low Latency: On

  • Dynamic Settings: Enabled

  • Terrain Level of Detail: 150

  • Objects Level of Detail: 150

  • Off-Screen Terrain Pre-Caching: High

  • Buildings, trees, plants, rocks and grass: High

  • Volumetric clouds: Ultra

  • Texture resolution: Ultra

  • Anisotropic filtering: 16×

  • Water waves: Low

  • Ray-traced shadows: Off

  • Shadow maps: 2048

  • Terrain shadows: 2048

  • Contact shadows: Ultra

  • Windshield effects: High

  • Ambient occlusion: Ultra

  • Cubemap reflections: 384

  • Raymarched reflections: Ultra

  • Light shafts: High

  • Depth of field: Off

  • Motion blur: Off

  • Visual-effects particle quality: High

  • Glass-cockpit refresh rate: High

  • Character settings: High

  • Road and sea traffic: Medium

  • Fauna density: Low

With this configuration, I generally receive:

  • 30–40+ FPS on the ground

  • Around 80 FPS during flight

  • Some expected brief stutters while new scenery and assets load

My problem was not consistently poor performance. It was degradation and instability that gradually developed as system RAM became crowded during longer flights.

What I have observed

As a flight continues, MSFS gradually consumes more active physical memory while the standby list also becomes increasingly full.

Memory usage climbs as new areas and airports are loaded, but it rarely drops by a meaningful amount afterward. MSFS eventually releases some memory, but it does so extremely slowly and frequently appears to retain data it no longer actively needs.

Even after returning to the main menu, large amounts of memory can remain committed or physically resident for some time.

My recurring problems appeared when:

  • Physical system RAM became crowded

  • Available RAM became low

  • The standby list became nearly full

  • Shared GPU memory began increasing

  • I approached a complex area after a longer flight

MSFS sometimes identifies this condition as a VRAM limitation. However, my testing indicates that the more important threshold is system RAM pressure and the resulting use of shared GPU memory.

High dedicated VRAM usage by itself has not produced the same problems on my system.

The cleaning process also does not clear, reduce, or otherwise touch dedicated VRAM. Dedicated GPU-memory usage remains effectively unchanged. The significant change occurs in physical system RAM.

My experimental tray program

I created a small personal tray utility that periodically invokes selected functions from Microsoft Sysinternals RAMMap.

The current experimental sequence clears:

  • Working Sets

  • Modified Page List

  • Standby List

  • Priority 0 Standby List

The corresponding RAMMap commands are:

  • RAMMap64.exe -Ew

  • RAMMap64.exe -Em

  • RAMMap64.exe -Et

  • RAMMap64.exe -E0

The program is not ready for distribution yet.

I am still investigating which operations are actually necessary, which combinations provide the best results, and how to avoid performing a cleanup during a sensitive simulator operation.

My goal is to develop a reliable set of options that can work across different systems without introducing major problems. Until that testing is complete, I will not be distributing the program.

Effect on other running programs

Although these RAMMap operations affect system memory globally, I have not experienced problems with any other programs running on my computer during these tests.

Everything outside MSFS has continued operating normally. I have not observed crashes, corrupted work, major pauses, or lasting performance problems in other applications.

That does not guarantee identical behavior on every computer, but it is an important part of my results so far: MSFS’s SimBrief route import is the only operation I have found that reacts negatively.

Measured result during a demanding flight

One test occurred during descent into the Los Angeles/KLAX area while flying the PMDG 777F with:

  • Fairly high graphics settings

  • A custom livery containing 8K textures

  • Detailed Los Angeles-area scenery

  • All available downloadable MSFS content installed

  • SayIntentions, GSX, and other supporting software running

Immediately before cleaning, Windows showed approximately:

  • 23.9 GB of physical memory in use

  • 7.6 GB available

  • MSFS working set around 9.77 GiB

Immediately afterward:

  • Physical memory in use dropped to approximately 16.2 GB

  • Available memory increased to approximately 15.4 GB

  • The MSFS working set dropped to approximately 2.55 GiB

Committed memory changed much less. This is expected because trimming working sets removes inactive pages from physical RAM without cancelling the application’s committed virtual-memory allocations.

Dedicated VRAM usage did not meaningfully change.

Most importantly, the cleanup caused no noticeable interruption. There was not a single visible hitch, and the flight continued running smoothly through descent and arrival.

Across my testing, periodic cleaning has allowed MSFS to run reliably better. The gradual degradation and problems associated with crowded system memory have largely disappeared while the cleaning process is active.

One warning: SimBrief’s Import Route function

So far, I have found only one specific negative interaction.

It occurs when clicking Import Route inside the SimBrief app within the MSFS 2024 EFB.

After cleaning memory:

  • The EFB remains responsive

  • Its map continues working normally

  • I can view and move around the map

  • I can manually create a route

  • I can view and edit flight-plan information

  • Other EFB functions remain operational

  • The rest of MSFS continues operating normally

However, clicking Import Route inside the SimBrief app after cleaning caused MSFS to produce a device-hung error.

Using the same route without performing the cleanup allowed it to import normally.

The warning is specifically about SimBrief’s Import Route button. I have not observed a general problem with the EFB, its map, manual route creation, or other simulator functions.

My current safe procedure is:

  1. Load the aircraft and flight.

  2. Import the SimBrief route.

  3. Allow the avionics and navigation displays to finish updating.

  4. Begin periodic memory cleaning afterward.

  5. Do not use SimBrief’s Import Route function immediately after cleaning.

This safeguard will be part of my continued utility testing. A future version may start with automatic cleaning disabled so the user can finish loading and importing the route before enabling it.

How other users can help test this manually

I am not asking anyone to install my program.

Anyone interested in testing the underlying behavior can download Microsoft Sysinternals RAMMap and use the options manually through its Empty menu:

Suggested procedure:

  1. Start MSFS and load a normal flight.

  2. Import the SimBrief route before clearing anything.

  3. Allow the aircraft and avionics to finish loading.

  4. Record system RAM, standby memory, shared GPU memory and performance.

  5. Continue flying until the usual degradation or memory pressure appears.

  6. Open RAMMap and manually clear the selected memory lists.

  7. Return to MSFS and observe the result.

  8. Report any improvement, lack of change, hitch, crash, or instability in this thread.

Please test this on a flight you are prepared to lose. These are system-wide memory-management operations, and different hardware or software configurations may respond differently.

For more controlled testing, users can also try the operations individually:

  1. Empty Priority 0 Standby List

  2. Empty Standby List

  3. Empty Modified Page List

  4. Empty Working Sets

This may help determine which operations provide the benefit and which operation or combination creates the SimBrief import sensitivity.

Information to include with test results

Please report:

  • Installed system RAM

  • CPU and GPU

  • Aircraft

  • Departure and destination

  • Approximate flight duration

  • Whether MSFS content is downloaded locally or primarily streamed

  • Add-on scenery

  • Running plug-ins and external services

  • Physical RAM used and available before and after

  • Standby memory before and after

  • MSFS working set before and after

  • Dedicated and shared GPU-memory usage

  • Which RAMMap options were used

  • Whether cleaning caused a visible hitch

  • Whether performance or frame pacing improved

  • Whether any other running programs were affected

  • Any crash, instability, or device-hung error

Reports showing no improvement or increased instability are just as valuable as successful results.

Current conclusion

After extensive graphics-setting changes and testing multiple recurring bugs, system-memory pressure appears to be one of the primary causes of the degradation I experience in MSFS 2024.

Periodic cleaning has proven to make my system run MSFS reliably better. It restores physical-memory headroom, prevents the gradual degradation I was experiencing, and does so without reducing or touching dedicated VRAM.

I have also not experienced problems with other programs running alongside MSFS. The only negative interaction found so far is SimBrief’s Import Route function immediately after cleaning.

This remains an active investigation. I am continuing to identify the safest RAMMap options and develop a reliable program that could eventually provide this workaround without causing major issues.

In the meantime, manual RAMMap testing may provide a practical temporary fix for other users experiencing the same long-flight performance degradation while we wait for MSFS’s underlying memory-management behavior to be improved.

edit 1:

What I’m Planning for the Tool

I want to clarify that the utility I’m currently testing is still a pre-alpha prototype. The current version is intentionally simple because I need data before deciding what the final behavior and default settings should be.

The finished tool is intended specifically for MSFS 2024. Although the memory-cleaning operations affect Windows system memory, the utility will only become active while MSFS is running.

My longer-term plan is to connect it to SimConnect and provide a large but understandable selection of user-configurable triggers. Possible triggers include:

  • A normal fixed-time interval

  • Climbing through a selected altitude

  • Descending through a selected altitude

  • Descending through a selected height above ground

  • A configurable delay after takeoff

  • Entering a stable cruise state

  • Beginning descent or approach

  • Landing, taxiing, or entering a parked state

  • Pausing cleaning during selected phases of flight

For example, someone could configure a clean while climbing through 10,000 feet to remove memory retained from the departure area, another while descending through 10,000 feet to prepare for arrival scenery, and an optional clean at 3,000 feet AGL.

The underlying cleaning operations would remain the same. These triggers would only control when they happen. If a particular PC, aircraft, add-on, or flight-plan importer does not react well to cleaning at one point, the user could move, disable, or replace that trigger without changing the cleaning method itself.

There is no point during a flight that can be guaranteed completely safe for memory cleaning. The goal is to identify flight states where the risk appears lowest and give users enough control to adapt the timing to their own system. A fixed timer can collide with a sensitive operation by chance, while a memory threshold may trigger precisely when the system is already under heavy pressure. SimConnect-based flight-state information may let the tool avoid some of those higher-risk moments.

This is also why I still need testing data. MSFS can show similar performance symptoms for multiple reasons, and different systems may respond differently to the same cleaning operation or trigger. I want the eventual utility to be shaped by repeatable results across different hardware, aircraft, add-ons, scenery configurations, and types of flying—not only by what works on my PC.

currently this is what my tool looks like,

edit 2

First, I want to thank Gimbal for sharing his old testing and results with me. His information ended up being useful for more than the original question about possible memory caps, because his testing looked specifically at the numbers MSFS itself reports.

That matters here because Task Manager shows what Windows thinks is happening, while Gimbal’s data gives us a look at how MSFS appears to account for its own memory. His results helped me see that these may not just be a bunch of unrelated counters. They may be showing how MSFS creates an overall allocation and then splits it between different kinds of residency.

This is still only my current working theory. I am not claiming that I know exactly how the engine’s memory manager works.

One of the biggest clues is this relationship in the Dev Mode overlay:

AllocatedMem ≈ PhysicalMem + SwapFile

That makes AllocatedMem look like the total logical allocation MSFS is tracking. PhysicalMem is the part currently resident in physical system RAM, while the badly named SwapFile counter appears to be what is left of that allocation after the physical portion is subtracted.

I don’t think that SwapFile number means all of that data is literally sitting in the Windows pagefile on disk. I have seen MSFS report a large SwapFile number while actual disk paging was minimal and physical RAM was still available. It looks more like MSFS saying, “Here is my total allocation, here is the part currently physical, and here is the remainder.”

Gimbal’s data is especially relevant because it was built around these internal MSFS numbers. His testing showed how changing LOD and world complexity changed PhysicalMem, while resolution and multiple viewports affected GPUMem much more heavily. That looks like MSFS taking one overall population of resources and deciding how much belongs on the world/CPU side and how much belongs on the graphics side.

His high-memory system is relevant too. The sim can settle around its own internal numbers or complain about resources even when the computer itself still has a huge amount of unused memory. That makes me wonder if MSFS is working from its own budgets and divisions instead of continuously adapting to all the memory physically available in the PC.

My own testing adds another major clue. I have seen GPU memory sit at something like 4 GB dedicated and 4 GB shared while MSFS still considers itself within its reported GPU-memory count. Even when there is room available in dedicated VRAM, it doesn’t necessarily split those allocations apart again or move the shared portion back where I would expect it to go. It can sit in that state until I return to the menu or do something that forces the sim to recalculate its memory.

Shared GPU memory is not a separate graphics pagefile. It is real physical system RAM. So MSFS may look at that situation and see 8 GB of graphics memory accounted for and consider the total acceptable, while the actual physical placement is 4 GB in VRAM and another 4 GB taking space away from system RAM.

The fact that it remains in that split until a menu transition or forced recalculation is important. It makes it look like the total amount is being tracked more actively than where everything is physically sitting. The allocation may still fit inside MSFS’s logical budget, so it has no reason to reconsider the split, even though the shared portion is increasing physical-memory pressure.

Some shared-memory use is completely normal, and I’m not saying every shared allocation should be moved into VRAM. What matters is that the split can become sticky, remain that way despite available dedicated memory, and then change when MSFS is forced to reconsider the whole memory state.

That is what led me to the current theory: MSFS may create a logical pool of resources and then divide that pool itself between physical memory, nonresident or backed allocations, dedicated VRAM and shared GPU memory.

That kind of design would make sense for a console, where the engine has one predictable unified-memory environment and can decide how much belongs to the CPU and GPU sides. On PC, those locations are physically different and have very different costs. Dedicated VRAM is on the graphics card, while shared GPU memory takes from the same physical RAM needed by MSFS, Windows, aircraft systems, scenery and everything else running on the computer.

The problem may not be that MSFS exceeds its own total pool. The problem may be that MSFS considers the total acceptable while the physical split of that pool has become unhealthy.

That would explain the chain I have repeatedly captured:

Physical-memory pressure increases, shared GPU memory remains resident, new scenery needs to load, and Windows/WDDM starts moving resources around more aggressively. MakeResident calls, transfers, backing activity and other memory work increase. Graphics work keeps being submitted but stops retiring normally, a massive queue builds up, and presentation collapses even though the simulation underneath it is still running and responding.

It would also explain why returning to the menu or forcing a recalculation can change the memory split. MSFS finally reevaluates the population and where it belongs instead of continuing with the old residency decisions.

This also fits the strongest practical result from my own testing: I am now running higher settings more reliably than I previously ran lower settings, simply by preventing physical-memory pressure from building as far. The cleaning does not meaningfully reduce dedicated VRAM, but it frees a large amount of physical RAM and prevents the renderer from entering the same degraded state.

V-Sync fits into this as well. It doesn’t fix the memory problem directly, but it limits how quickly MSFS can submit more frames and resource dependencies into a graphics pipeline that is already struggling to relocate and make resources resident. Cleaning creates physical headroom, while V-Sync gives the queues more time to retire.

So Gimbal’s results don’t prove a simple universal memory cap, but the data is still extremely relevant. Because he measured MSFS’s own internal counters across different workloads, his results help show how the sim divides and accounts for its memory population. My testing then shows what can happen when that internal accounting still considers the total valid, but the real physical split between dedicated VRAM, shared GPU memory and system RAM has become harmful.

Again, this is my working theory, not something I’m presenting as proven engine architecture. But it currently connects Gimbal’s internal MSFS numbers, the AllocatedMem = PhysicalMem + SwapFile relationship, the sticky dedicated/shared GPU split, my old low-level traces, and the fact that controlling physical-memory pressure has made the simulator dramatically more reliable.

also i have now intergrated simconnect in to my tool, and making shure it is still stable, currently it is still a timer, but, it watches the levels of what is cleared,

here are some screenshots of the current tool

so far it is very stable still,

as you can see im trying to make sure it stays something focused on the use of msfs, i do not suggest something like this running at all times. it can corrupt save data and such, and why i haven’t released it yet,

safety before access, once i feel it does not cause major issues with anything, and any edge case testing i can do, i will possibly look for beta testers.

I had a faulty 8GB DIMM and currently running with 24GB. Planning for a motherboard + CPU + DIMM upgrade. By looking at the memory usage through the task manager I always wondered on how to cut down the memory used by Windows 11. On my computer, after a Windows 11 up and running, normal memory usage is around 10GB.

  1. RampMap GUI → Empty → Empty Working Sets, Empty System Working Set, Empty Modified Paging List, Empty Standby List.
  2. Memory usage dropped to 3.7GB
  3. Loaded Fenix A320. EGLL Gate 334 and set the aircraft to Ready State.
  4. Memory usage 19.1GB
  5. RampMap GUI → Empty → Empty Working Sets, Empty System Working Set, Empty Modified Paging List, Empty Standby List.
  6. Memory usage dropped to 13.4GB

Pan around the cockpit, outside view and no issues. I didn’t get a chance to fly. But will test that as well.

nVidia RTX 4060 Ti 16GB
Total memory 24GB

This is something I will utilise in my normal windows 11 use as well.

Thanks for the findings.

EDIT1:

My windows 11 build when this post was made:

Edition Windows 11 Home
Version 25H2
Installed on ‎13/‎09/‎2025
OS build 26200.9168
Experience Windows Feature Experience Pack 1000.26100.344.0

Last preview Update:
2026-06 Preview Update (KB5095093) (26200.8737)
Successfully installed on ‎09/‎07/‎2026 (DD/MM/YYYY)

I don’t know if it is useful to your research, but I recently did a very informal benchmark of MSFS SU6 across the various Settings: Low, Medium, High, Ultra, each using the range of DLSS settings, in a fixed scenario of the A330 at KJFK.

I captured the info shown in the MSFS Dev Mode FPS overlay, which includes memory statistics. My PC: 9800X3D / 5090 / 96 GB 6000 CL28 RAM / 3 screens / Tuned bios with EXPO, PBO, Memory subtimings tightened, ReBAR and HAGS on.

I compared this to the same tests I had done for SU5 in May, and saw quite a reduction in RAM usage (and a tiny reduction in VRAM).

You can see the post I made in the SU6 feedback thread here

And here are a couple of screenshots

It’s my belief just from observing behaviour and the numbers, that memory usage increases with LOD range and number of objects (which makes sense).

I am in the middle of an around the world flight hops across the Pacific, and yesterday while stopped in Tahiti (RTAA) I used the drone camera to explore extensively. Near the end, I ‘zoomed’ the drone camera back to the airport, and got the “Resource usage exceeds avaible resources” popup (or however it is worded). I attributed this to suddenly reloading the aircraft and airport, and it not cleanly jettisoning all the autogen buildings and trees and POIs I had been exploring about 10 miles away in the drone.

That is definitely useful—thank you. A fixed A330/KJFK comparison across SU5 and SU6 gives us a useful baseline, especially from a system with 96 GB of RAM. The reduction you measured in SU6 is encouraging and suggests Microsoft/Asobo have changed something in the simulator’s memory footprint, even if it does not necessarily resolve the longer-term retention issue.

I agree that the LOD and object-loading implementation is probably central to this. My working hypothesis is that MSFS loads scenery, terrain, buildings, vegetation and other assets as the visible range changes, but does not evict the pages associated with older assets quickly or cleanly enough afterward. Your drone flight around Tahiti followed by suddenly returning to the aircraft is exactly the kind of scenario that could leave the explored area’s assets resident while rapidly demanding the airport and aircraft assets again.

To be technically precise, I would describe it as MSFS retaining pages in physical RAM rather than refusing to release “paged files.” In my testing, the simulator’s working set, active physical memory and standby usage can remain elevated long after leaving an area—and even after returning to the menu—while available RAM becomes increasingly constrained. Windows can theoretically reclaim much of that memory, but it does not always appear to happen quickly or smoothly enough for MSFS under real load. That is where manually forcing the RAMMap cleaning operations has repeatedly improved behavior on my system.

edit

Thank you—having now gone through the actual tables, this is considerably more useful than you might think.

Across the 20 comparable one-screen 4K results, SU6’s reported PhysicalMem is between 8.0% and 15.2% lower than SU5, averaging roughly 11.1% lower. The VRAM results are a little more mixed at Low and Medium, but High and Ultra generally show a modest reduction. So the clearest SU5-to-SU6 change in this particular dataset is reduced resident physical-memory usage.

The full SU6 table also strongly supports the connection to LOD range. In the one-screen 4K results, the extra High-preset test using TLOD 400/OLOD 200 uses roughly 3.8 GB more PhysicalMem and 10.3 GB more AllocatedMem on average than High at TLOD/OLOD 100. Frame Generation is also enabled in that additional test, so it is not a perfectly isolated LOD comparison, but the scale and consistency of the change are difficult to ignore. It even uses about 1.9 GB more PhysicalMem than Ultra at TLOD/OLOD 200 despite otherwise using the High preset.

Something else interesting is that AllocatedMem consistently appears to equal approximately PhysicalMem plus SwapFile in the overlay. For example, one result shows 27,997 MB allocated, divided into 10,642 MB physical and 17,354 MB swap. I therefore would not quite describe the problem as “paged files remaining in active RAM.” My current suspicion is that MSFS keeps the underlying asset allocations committed while retaining too many of their pages in physical memory, and then fails to trim or evict previously loaded scenery quickly enough as the viewpoint or location changes.

That would connect your benchmark with what I have been observing. LOD and object range determine how much scenery data is brought in, while the longer-flight problem may occur when older areas are not shed quickly enough afterward. On my system, forced cleaning sharply reduces the resident working set and physical-memory pressure while committed memory changes much less.

Your Tahiti drone-camera incident is particularly interesting in that context. Exploring ten miles away would build up a second collection of scenery, vegetation and POI assets; snapping back to RTAA could then demand the aircraft and detailed airport again before the distant assets had been evicted. The resource warning does not prove that exact mechanism by itself, but the behavior is very consistent with it.

If you encounter it again, captures immediately before returning, at the warning, and perhaps five or ten minutes afterward would be extremely valuable. A test on a 96 GB/RTX 5090 system is especially useful because it helps separate poor asset residency and eviction behavior from simply having low-spec hardware.

This is useful, particularly because you are currently operating with only 24 GB.

The screenshots confirm that the first cleanup reduced total physical-memory use from 9.3 to 3.7 GB, while the cleanup with the Fenix loaded at EGLL reduced it from 19.1 to 13.4 GB. That reclaimed approximately 5.6 and 5.7 GB respectively. The fact that the Fenix and simulator remained responsive while moving between the cockpit and external view is also a positive immediate-stability result.

I would currently consider this a partial reproduction: the cleaning clearly reclaimed substantial physical memory without causing an immediate problem, but we do not yet have a flight or a before-and-after performance comparison. It will be particularly interesting to see what happens during descent and arrival, when your remaining available memory would ordinarily be under much greater pressure.

One important difference is that your sequence included Empty System Working Set. My current experimental sequence uses Empty Working Sets, Modified Page List, Standby List and Priority 0 Standby List, so I’ll track your result separately rather than treating it as an exact test of the same combination. Testing all the operations together also means we cannot yet identify which one produced most of the reduction.

I would be cautious about using this routinely during normal Windows operation solely to make the memory-use number smaller. Windows using memory is not automatically a performance problem, and forcing working sets and caches out can simply mean that data must be loaded again later. That does not dismiss what we are seeing with MSFS—the distinction is that MSFS is showing measurable degradation under pressure, and cleaning has repeatedly improved that behavior on my system.

For your flight test, the most useful captures would be before departure, late in cruise, immediately before descent or arrival, and then before and after cleaning if performance has degraded. Please also note whether cleaning creates a visible hitch and whether the improved available memory translates into smoother frame pacing.

There are some other factors that might account for this - other than Asobo optimizing memory handling. I’m sure the pressure and goal was further optimization in order to solve performance bottlenecks on PS5 and Xbox - but I believe that between SU5 and SU6 (I think), the underlying bing base map tiles seemed to revert to lower resolution, and there has been a lot of reporting about LOD “shrinkflation” … for example, TLOD 200 in SU5 seemed to provide more detail than TLOD 200 in SU6 … but that was a feeling, not measured.

My point being that a lot changed between SU5 and SU6, including windows updates, graphics drivers, chipset drivers, MSFS assets and code. Collectively there was an apparent improvment - but I think you are on to something with the challenge of deciding when and how to jettison vs when and how to load, when you can’t predict where the user will look next. … and whether there is stuff filling up memory over time.

I also never see MSFS use more than X amount of physical memory, even though I have much much more than it uses - which is why it’s odd that I got the resource exceeds message. I suspect an artificial cap. I with MSFS looked at resources available and used a percentage rather than a fixed amount (if that’s what it does).

I agree completely that the 11% reduction cannot be soly credited to improved memory management.

If SU6 reduced the effective LOD range, lowered the underlying Bing imagery resolution, introduced more aggressive line-of-sight culling, or simply loaded fewer detailed assets at the same nominal setting, that could produce the lower PhysicalMem result without improving the simulator’s ability to release old assets afterward. In that case SU6 would delay the pressure by loading less, rather than fixing the retention behavior itself.

What I find particularly useful in your table is that PhysicalMem barely changes when moving across the different DLSS/render-resolution modes within the same preset, while it changes substantially as the preset and LOD range increase. GPU memory responds much more strongly to resolution and antialiasing. That makes the world-data side—terrain, objects, buildings, vegetation and scenery range—look much more important to physical system-memory use than rendering resolution itself.

Your observation about an apparent physical-memory ceiling on a 96 GB system may be the most interesting part. The table appears to top out around 12–13 GB of PhysicalMem even under the extreme configurations, despite enormous unused system-memory capacity. That does suggest some kind of internal residency target or resource budget, although we cannot yet tell whether it is a deliberate fixed cap, a per-subsystem limit, or simply the maximum hot set reached in that particular static scenario.

The Tahiti resource warning is particularly strange in that context. After the distant drone exploration, MSFS may have still been retaining or tracking the previous scenery population when you returned to the aircraft and airport. Even with plenty of total system RAM and dedicated VRAM available, it could still exceed an internal scenery, GPU-residency, shared-memory or allocation budget.

That also matters because MSFS uses shared GPU memory as part of its normal operation. When resident, those GPU resources are backed by physical system memory and participate in the same broader residency system as the simulator’s CPU-side assets. My earlier detailed captures showed large bursts of MakeResident calls, GPU paging, memory transfers, preemption and backing-store activity when camera movement and aircraft movement caused the graphics presentation state to collapse. A static shared-memory quantity was not sufficient by itself to explain the problem, but the movement and residency churn clearly mattered.

My current hypothesis is therefore that there may be two limits interacting: an internal MSFS resource/residency policy and, on lower-memory systems like my 32 GB machine, actual Windows physical-memory pressure. Your 96 GB system is extremely useful because it may expose the internal limit without ordinary system-wide RAM exhaustion muddying the result.

any further tests you do would be useful, and ill keep updating here as i find more things as well.
I have gone considerably deeper into this than watching Task Manager or the Dev Mode overlay. I built repeatable trace scenarios that separated a stationary view, camera movement, aircraft movement and the transition into a persistently degraded state. I then examined the underlying Windows graphics and kernel activity, including Present cadence, GPU queue retirement, MakeResident calls, paging starts, memory transfers, allocation faults, page-ins, preemption attempts, backing-store resets, and CPU time inside dxgkrnl and the NVIDIA driver. I have also compared HAGS on and off, different aircraft, clean versus degraded states, menu transitions, AFK recovery, and memory cleanup both before and after the performance state became latched. Those traces are why I am treating physical RAM pressure, shared GPU memory, residency churn and presentation failure as connected parts of MSFS’s behavior rather than drawing conclusions from memory totals alone.

Glad the info was useful to someone! I did it to try to understand what settings use what resources, and posted it in case it was useful to the devs, and more so, to help people see how much RAM or VRAM MSFS likes to use at 2K, 4K, and each Anti-aliasing mode, etc.

I suspect it was hitting a VRAM limit - but I didn’t have the FPS window open - I’m doing a circumnavigation of the southern hemisphere in the TBM 930, and island hopping, drone cam around each island to really look around. Next time I’m doing that I’ll open the FPS overlay to see what it does.

Here are the previous results I had posted for SU5, in May:

Thank you for that. it infact helped more then you may think on some of my other working theorys, edits there to explane!

Just adding one more data point - in my SU5 tests, I was using Win + Shift + S to capture screen shots, which I noticed negatively affected the FPS in the moment of the screenshot.

By the time I tested SU6, I learned to capture using Win PrtScn which doesn’t seem to affect FPS… so, that’s another factor that makes SU6 look a bit better, but only by 1 or 2 percent, I think.

Next few months will be interesting to watch as Microsoft is on a mission for implementing better memory management in Windows 11. I think it is good we saved our findings in here as we can compare notes at the start of 2027 :slight_smile:

Search for memory in here:

Hi @WhiteWintxr, Is it possible for me to have access to your NOCTURNE MSFS memory Helper? This will stop me trying to vibe code a very similar app and in turn will help the planet by not using AI :slight_smile: I totally understands the risks of running a tool like this. I am coming from a VAX/VMS, Solaris and Linux environments.

sadly due to my own nature of how i feel safe with my own programs, i will not provide it, i like to keep things of my making as safe i can before i hand it out

but its essentially a just a ps1 file running quietly, with a timer, using the commands explained above,

personally i have no issue with ai. and the program is a simple enough code that even a small level ai could probably throw it together, you could probably to looking in to commands and ps1 scripts.

boy these new meds im on are keeping me up… hopefully i get some rest and my tired dident effect the typing to much. ill fix it later.

edit: infact it really is just as eazy as running rammap and just clicking the buttons, you dont even need a tool, im just making somthing to make it eazer, and safer then just spaming them because why not

I just landed the TBM 930 at SCIP Easter Island.

I parked, turned the pane off, and used the drone to look around the Island for statues. I moved around a lot, with no issues. When I clicked to zoom back to the plane, the animation slowed to a crawl and I had time to go to settings, enable Dev Mode, turn on the FPS overlay, and come back…

Then I moved the drone away from the plane, and it recovered, and then I could zoom back to the plane, or anywhere else again, normally.

I think it tried to load / unload too much at once, and started trying to swap the huge memory footprint to disk (but I’m just guessing).

But it did recover when I moved away from the plane, and then it was fine, and it purged the VRAM back down to normal levels.

This is probably more useful to the investigation than the static benchmark results, because it actually captures the simulator travelling, changing camera populations, failing during the transition, and then recovering.

It also fits the exact loading-versus-jettison problem we were discussing earlier. You explored around the island without trouble, but returning to the aircraft forced MSFS to bring the aircraft, airport and nearby scenery population back into immediate use. If too much of the island/drone-view population was still retained, that return could temporarily require both resource sets at once.

The first screenshot caught that transition very clearly:

  • GPUMem was 30,677 MB against a reported 29,846 MB budget.

  • Graphics Queue reached 184.5 ms.

  • Async Compute reached 34.2 ms.

  • AllocatedMem was 46,676 MB.

  • PhysicalMem was 19,651 MB.

After you moved away, Graphics fell to 19.4 ms and Async to 1.5 ms. By the third screenshot, after returning successfully, GPUMem had fallen by about 9.4 GB, AllocatedMem by 10.6 GB and PhysicalMem by about 4.1 GB.

That looks much more like MSFS finally retired a large resource population than the computer simply finding more processing power.

I don’t think the overlay proves that it moved the huge footprint to disk, though. Its SwapFile counter is the exact remainder between AllocatedMem and PhysicalMem:

46,676 − 19,651 = 27,025

The same arithmetic works in the other two screenshots. I have previously captured a very large overlay SwapFile value while actual Windows pagefile traffic was negligible and roughly 15 GB of physical RAM was still available. It appears to describe the committed allocation that is not currently represented by the overlay’s PhysicalMem value, not the amount actively being read from or written to disk.

Your system having 96 GB is especially helpful here. It separates this event from the ordinary system-wide RAM pressure I experience on my 32 GB machine. You still had enormous physical headroom, but MSFS exceeded the current GPU-memory budget and collapsed during a resource transition. That points toward an internal MSFS/WDDM resource-lifetime or residency problem rather than a universal fixed physical-RAM cap.

It may be the same underlying retention policy showing itself in two different environments:

  • On your system, it can collide with an internal graphics/residency budget while Windows still has plenty of RAM.

  • On mine, continued retention eventually also crowds physical system RAM, including the RAM backing shared GPU memory, which makes the entire situation progressively worse.

WDDM can evict, move and make resources resident, but it can only respond to the resources, references, priorities and fence lifetimes MSFS gives it. Windows cannot know that an old camera view or scenery population is no longer useful if MSFS still owns or references it. Moving the drone away may have changed the simulator’s immediate resource requirements enough to let the old population finally retire, after which the aircraft view could be rebuilt normally.

The Async result is important as well. Async Compute is GPU compute work running separately from the normal Graphics queue; it is not just another FPS measurement. In my own repeated tests, Async begins becoming heavily involved as movement or camera activity pushes the simulator toward the poisoned state. If I stop the triggering movement quickly, it can partially recover. If I continue long enough, Graphics and Async can both become trapped in the degraded state.

Your sequence shows that same relationship very cleanly: Async is 34.2 ms during the collapse, falls to 1.5 ms when moving away allows recovery, and remains at only 3.0 ms after the large memory reduction and successful return.

My older ETL traces go below what the Dev Mode overlay can show. During the worst events, MSFS continued submitting work while retirement collapsed across all five active MSFS hardware queue contexts. Paging continued and other applications continued completing GPU work, so neither Windows nor the GPU had globally frozen. The simulator itself also continued running and responding underneath the visual failure. What stopped working normally was MSFS’s own queue completion and presentation path.

One Longitude capture contained two retirement droughts lasting roughly 2.73 and 2.69 seconds. MSFS submitted another 108 and 103 packets during them, while the corresponding progress events occurred only once and zero times. That produced the visible multi-second freeze followed by delayed input suddenly flushing through. The same captures showed the surrounding MakeResident calls, paging, allocation faults, backing-store movement, transfers and preemption activity becoming enormous.

I cannot safely map those five anonymous ETL hardware contexts to named Direct, Compute or Copy queues, so I am not claiming the ETL has identified one specific queue as the original cause. However, the Dev Mode Async transition repeatedly aligns with the state worsening, while the lower-level traces show all of MSFS’s active contexts losing retirement together. Your screenshots add another independent example of Async, Graphics and a large retained resource population collapsing and recovering together.

I have also started digging through the simulator’s code to see whether I can identify where this retention originates.

MSFS ships its own mimalloc.dll, identified as mimalloc 2.1.7. I have decompiled and examined its relevant collection and release paths, including:

  • mi_collect

  • mi_heap_collect

  • mi_thread_done

  • Abandoned-heap and segment reclaim

  • Scheduled purge

  • mi_segment_try_purge

Mimalloc’s purge system is lazy and event-driven. It can mark memory ranges for later purging, but the actual work is processed when subsequent allocation, reclaim, collection or teardown activity reaches those paths. The bundled default purge_delay also appears to be only 10 ms.

Nothing I have examined so far demonstrates that mimalloc itself is malfunctioning. Its internal behavior appears consistent with normal mimalloc design. The more interesting question is whether MSFS is reaching the necessary collection and lifecycle paths at the correct times.

The main FlightSimulator2024.exe statically imports these mimalloc functions:

  • mi_free

  • mi_good_size

  • mi_heap_get_default

  • mi_heap_visit_blocks

  • mi_malloc_aligned

  • mi_realloc_aligned

  • mi_option_enable

  • mi_register_error

  • mi_register_output

  • mi_stats_print_out

  • mi_usable_size

However, it does not statically import the explicit:

  • mi_collect

  • mi_heap_collect

  • mi_heap_delete

  • mi_heap_destroy

  • mi_option_set

exports that I checked.

That is relevant, but it does not prove that one missing mi_collect() call is the complete defect. Those functions could still be reached indirectly, and a large part of the retention I have observed consists of file mappings, shader/cache data and D3D/WDDM resources outside mimalloc’s direct responsibility.

It is also possible for the allocator to release blocks internally while the simulator’s higher-level resource manager continues retaining the object, mapping, allocation or GPU resource that owns them. That is why I am now moving upward from mimalloc into MSFS’s own ownership systems rather than assuming the allocator itself is broken.

I currently have Ghidra analyzing a disposable copy of FlightSimulator2024.exe placed beside the exact DLLs supplied with the simulator (16 hours and cooking still). It successfully resolved the game’s own mimalloc library, but the executable is enormous. The analysis has already worked through function discovery, RTTI and vtable searches, address-table creation, and an operand-reference pass containing roughly 283 million operands.

Once that completes, my first targets are:

  1. Find every MSFS caller of mi_option_enable and identify the option IDs it supplies.

  2. Trace MSFS’s wrappers around mi_malloc_aligned, mi_realloc_aligned and mi_free.

  3. Follow those wrappers into the simulator’s resource and cache ownership systems.

  4. Find the lifecycle condition that retains obsolete resources or fails to trigger timely retirement, unmapping, decommit or release.

So I am not assuming mimalloc is the cause, and I am not treating the absence of a static mi_collect import as proof. It is simply the first concrete path into MSFS’s memory ownership behavior.

The larger target is still the simulator-level relationship between CPU allocations, mapped files, graphics resources, Async work and deferred GPU retirement. The controlled memory cleans demonstrate that large quantities of physical residency are not immediately required. The ETL traces show what happens when residency and completion fall apart. The code analysis is now aimed at finding why MSFS keeps enough of that state alive for the problem to develop in the first place.

This still remains a theory until the responsible ownership path can be identified, but your SCIP sequence fits the evidence remarkably well. The static benchmarks showed what a settled scene uses. This event may show what happens when MSFS has to transition between two large resource populations and fails to jettison the previous one before demanding the next.

i love the game, and i have just gotten tired of trusting Microsoft to actually fix anything, (we all know how that can be…)

any other information you find will always be useful, at this point i am trying to make the most detailed bug report that can point to an exact line of code and tell them “here, this, fix it this is how”

your high level system definitely helps, because it takes the system being a problem out of any equation entirely, and has started to support my underlying idea of memory churn and poor management from the sim itself being the cause, keep me posted with any new findings!

15.Sept.2026
Windows 11 Home 25H2
OS build: 26200.9168
Experience: Windows Feature Experience Pack 1000.26100.344.0
2026-06 Preview Update (KB5095093) (26200.8737)
Successfully installed on ‎09/‎07/‎2026 (DD/MM/YYYY)

Total memory on my system 24GB
aircraft: C172 JT-A

I am in the process of migrating to MSFS2024 and my setup/profiles required for the Fenix A320, (Lorby’s AAO and Stream Deck) is not yet ready for flying. As I am doing the Travis Ludlow’s Around The World Solo Trip (Travis Ludlow's Around The World Solo Trip - MSFS Add-on - Flightsim.to) here is some data I captured today flying the C172 JT-A.

No issues whatsoever after clearing the memory.

Stage Memory Available (GB)
Windows 11 up and running 13.95
Empty Working Sets; Empty System Working Set; Empty Modified Paging List; Empty Standby List 18.79
After loading C172 JT-A (EPGD) 5.90
Empty Working Sets; Empty System Working Set; Empty Modified Paging List; Empty Standby List 11.10
Late in cruise (68.4 nm to EYSA) 10.00
Empty Working Sets; Empty System Working Set; Empty Modified Paging List; Empty Standby List 15.50
Immediately before descent or arrival —
Empty Working Sets; Empty System Working Set; Empty Modified Paging List; Empty Standby List —
After Landing @ EYSA 12.50

update: 9/26/26

the tool will hopefully be available on flightsim.to soon. waiting for approval, keep an eye out on there for Nocturne Msfs Memory Helper, more details to come once i know where it will be hosted exactly,

sorry for long break, was very distracted with a few other debugging things i played with.

Update: NMMH 1.5.3 RC is now publicly available

After a lot more testing, I have released the first public release candidate of Nocturne MSFS Memory Helper, or NMMH.

NMMH is a lightweight Windows tray utility made specifically for MSFS 2024. It periodically restores physical-memory headroom to reduce the gradual degradation I have repeatedly seen as MSFS loads and retains more aircraft, scenery, traffic, camera views and other resources.

This is not being advertised as a universal FPS fix, and it will not fix every underlying MSFS performance problem. It is intended to reduce one specific and repeatable problem: increasing physical-memory pressure and the residency churn that follows it.

Each cleanup performs two complete system-wide passes:

  1. Empty Windows working sets.

  2. Flush the modified page list.

  3. Purge the standby list.

  4. Purge the priority-0 standby list.

  5. Wait two seconds for Windows to redistribute memory.

  6. Repeat the complete sequence.

The second pass is intentional. During testing, the first pass frequently pushed a large amount of memory into modified or compressed states. Running the sequence again cleared much of what was produced by the first pass and resulted in a considerably larger reduction in active physical-memory use.

The utility includes:

  • Live physical-memory monitoring

  • Manual and automatic cleaning

  • Configurable cleaning intervals

  • A hard SimConnect safety gate

  • Start with MSFS and Close with MSFS options

  • Tray controls and a status window

  • Progress information for both cleanup passes

  • Cleanup logging

Automatic cleaning always begins disabled. Cleaning is also blocked unless NMMH has a live SimConnect connection, so simply opening the program without MSFS running cannot trigger a cleanup.

I have now tested it during simulator startup, aircraft loading, taxi, takeoff, climb, cruise, descent, approach, landing and rollout. I have also deliberately triggered repeated cleanups in close succession while MSFS and multiple supporting applications were running.

On my own 32 GB system, I have not observed data loss, application crashes, corrupted work or lasting damage caused by NMMH. MSFS can briefly stutter while required pages are brought back into physical memory, which is expected after an aggressive cleanup.

These are still system-wide memory-management operations. The tool has not been tested on every computer, application or MSFS configuration. Save important work and avoid cleaning during rendering, compiling, exporting, recording or anything else you cannot afford to interrupt. Primarily streamed MSFS installations and livestreaming configurations have not yet been thoroughly tested.

NMMH is one normally compiled C# executable. It does not inject code into MSFS, alter simulator files, change flight plans or directly clear dedicated VRAM. RAMMap is no longer required. The complete source, build script, documentation, checksums and release files are available publicly on GitHub.

GitHub project and release:

The published executable has three generic heuristic detections on VirusTotal from Bkav Pro, McAfee Scanner and SecureAge. Microsoft Defender and the remaining engines reported it as clean. The exact VirusTotal report, source code, explanation and matching SHA-256 are linked from the GitHub page so people can inspect and reproduce the build themselves.

This remains a release candidate. I cannot promise regular updates or individual support for every system, but useful stability and testing reports can be submitted through GitHub Issues.

The investigation itself is not over, but the tool has reached the point where keeping it private is less useful than allowing other people to test whether controlling physical-memory pressure helps their systems too.

No Coffee button?

im thinking about it, but, im just glad to help people out on all this really. tho ill think about adding one to the git.