william-r
11/3/2017 - 8:51 PM

Call Garbage Collector in C#

GC.Collect();
GC.WaitForPendingFinalizers();
GC.WaitForFullGCComplete();