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