DMagic1 / KSP_BasicDeltaV

A KSP addon for displaying deltaV and other info in the editor scene
GNU General Public License v3.0
7 stars 3 forks source link

Basic DeltaV runs out of memory after several vessel switches #5

Open Alewx opened 3 years ago

Alewx commented 3 years ago

[LOG 22:22:13.845] BasicDeltaV -> SimManager.RunSimulation() // Out of memory [LOG 22:22:13.845] BasicDeltaV -> at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_array_new_specific(intptr,int) at System.Array.Resize[T] (T[]& array, System.Int32 newSize) [0x00029] in <9577ac7a62ef43179789031239ba8798>:0 at System.Collections.Generic.Stack1[T].Push (T item) [0x00010] in <ef151b6abb5d474cb2c1cb8906a8b5a4>:0 at BasicDeltaV.Pool1[T].Release (T value) [0x0001d] in <525e35ee461f4b5493e3cf383474cefc>:0 at BasicDeltaV.Simulation.RCSSim.Release () [0x00000] in <525e35ee461f4b5493e3cf383474cefc>:0 at BasicDeltaV.Simulation.Simulation.FreePooledObject () [0x0007b] in <525e35ee461f4b5493e3cf383474cefc>:0 at BasicDeltaV.Simulation.Simulation.RunSimulation (BasicDeltaV.LogMsg _log) [0x00bdc] in <525e35ee461f4b5493e3cf383474cefc>:0 at BasicDeltaV.Simulation.SimManager.RunSimulation (System.Object simObject) [0x00000] in <525e35ee461f4b5493e3cf383474cefc>:0

as a result of about 10 vessel switches during a single session. system has 32gb ram, and ksp is only using about 9gb, while about 30% is still unallocated and free to use.

ksp 1.12 mods.txt

thanks for the improvement to the regular game.