/// <summary> /// Forces the Garbage collection /// </summary> public static void ForceGC() { GarbageCollectionTask.ForceGC(); }
public void Execute() { GarbageCollectionTask.ForceGC(); }
private static void doGC(IConcurrentSimulationRunner concurrentSimulationRunner) { concurrentSimulationRunner.Dispose(); GarbageCollectionTask.ForceGC(); }
protected void ReleaseMemory() { //This might free some C++ objects still being held into memory GarbageCollectionTask.ForceGC(); }