Memory leaking in scene switches, never recovered
- KSC main scene
- Astronaut complex
It is near-static in other scenes (such as the Main Menu, Tracking Station, VAB, or SPH). This can be easily observed by creating a new sandbox game and looking at RAM usage.
This had gotten to the point where after a few hours running, doing a Mun orbit mission and then leaving the game paused for a while afterwards, the game was using 7.5GB of RAM on my machine (even after switching to an empty sandbox save), when it only uses 4.2GB on startup.
#2 Updated by Nebbie about 2 months ago
- Subject changed from Memory leaking in some scenes, even while paused to Memory leaking in scene switches, never recovered
It appears the 100kB/s leak is actually due to mods; scatterer and EVE seem to cause it.
However, that still leaves the problem that the game generally doesn't free up memory, leading to inevitable memory bloat as it slowly (or much more quickly with mods) leaks; if I load up an empty sandbox save, go into the VAB and back several times, then go back to the main menu, memory usage has about a 10MB net increase.