private static void GabageCollect() { GC.Collect(); GC.WaitForPendingFinalizers(); GC.Collect(); GC.WaitForFullGCComplete(); } }