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