S-C-A-N / SCANsat

Real Scanning, Real Science, at Warp Speed!
220 stars 97 forks source link

Memory leak when updating map. #382

Closed Aberro closed 4 years ago

Aberro commented 4 years ago

As title says - each time map is updated (especially zoomed in window with autoupdate enabled), KSP allocates few hundreds megabytes and never releases it. It's just keeps growing until OutOfMemoryException.

DMagic1 commented 4 years ago

I see it. The problem is related to the textures for the visible scan maps being regenerated when they shouldn't be, then not getting destroyed properly.

This will be fixed in the next update, hopefully sometime this week.

Aberro commented 4 years ago

Nice. I'll be waiting for it.

DMagic1 commented 4 years ago

The leak should be fixed in version 20.2, and memory usage in general is reduced for the visual maps.

Aberro commented 4 years ago

Thank you!)