예제 #1
0
 // Token: 0x06000002 RID: 2 RVA: 0x0000205F File Offset: 0x0000205F
 public static void minimizeMemory()
 {
     GC.Collect(GC.MaxGeneration);
     GC.WaitForPendingFinalizers();
     MinMemory.SetProcessWorkingSetSize(Process.GetCurrentProcess().Handle, (UIntPtr)uint.MaxValue, (UIntPtr)uint.MaxValue);
 }
예제 #2
0
 // Token: 0x06000001 RID: 1 RVA: 0x00002050 File Offset: 0x00002050
 private static void MinMem(string[] args)
 {
     MinMemory.minimizeMemory();
     Console.ReadLine();
 }