Working-Title-MSFS-Mods / fspackages

Working Title FS Packages
MIT License
1.15k stars 109 forks source link

[g3000-v0.3.0] Memory leak #510

Open BuraiUK1 opened 4 years ago

BuraiUK1 commented 4 years ago

Firstly, thanks for a great mod.

I am experiencing a heavy memory leak with 0.3.0. An additional 8GB of memory was consumed after about 30 minutes of flying. Memory continued to increase at a rate of about 100MB per minute until I switched the MFD from the navmap to the WX radar, at which point most of the memory was freed. Switched back to the navmap and memory consumption started to increase again.

FPS is also extremely low and erratic with 0.3.0 since upgrading from 0.2.2. Fully decluttering the navmap, disabling the PFD inset map, etc. had negligible impact.

knighty commented 4 years ago

This is something I've been working with ever since they did the Japan update. Overnight I gained huge memory leak issues and performance degradation which then got even worse with the subsequent patch 2 weeks later. I spend an absurd amount of time trying to debug this to no avail. The thing is, the memory leak seems to be some kind of internal bug related to Coherent. When the leak starts, I can swap to another plane and if I look at the avionics the leak will continue. It's incredibly bizarre and I haven't been able to work out if it's mod related or not.

FinPark commented 4 years ago

I have the exact same problem and it make me spend a week to figure it out. I can reproduce the CTD with the G1000/G3000 in the TBM on a vanilla MSFS at LFMG. So, if you need help for testing i will be your guy. This is the only AddOn i can´t live without - except the ORBX/Gaya Airports :) It only happend, if G1000 and G3000 ist installed. One of the alone does not let me reproduce the CTD.