KSPModStewards / RocketSoundEnhancement

An Audio Framework Plugin for Kerbal Space Program
https://forum.kerbalspaceprogram.com/index.php?/topic/179579-wip15x-rocket-sound-enhancement-pre-v100/
GNU General Public License v3.0
14 stars 14 forks source link

AirSimulationFilter uses a lot of memory #27

Open JonnyOThan opened 1 year ago

JonnyOThan commented 1 year ago

I've seen a number of people that are hitting out of memory exceptions in the AirSimulationFilter constructor. This array could probably be shrunk.

https://github.com/ensou04/RocketSoundEnhancement/blob/372d51684012a1b4ad6fc2156c9337e82c83c8d9/Source/RocketSoundEnhancement/AudioFilters/AirSimulationFilter.cs#L180

JonnyOThan commented 7 months ago

This should be a lot better as of https://github.com/ensou04/RocketSoundEnhancement/commit/749ebe9457cbe7329f3b2c4a7d44f716ce4bb0ff

In my local install, this was using about 2gb of memory and now it's around 100mb - though it will grow if you have more parts.