[DllImport("psapi.dll")] private static extern int EmptyWorkingSet(int hProcess); GC.Collect(); GC.WaitForPendingFinalizers(); EmptyWorkingSet(Process.GetCurrentProcess().Handle.ToInt32()); 效果十分的显著
[DllImport("psapi.dll")] private static extern int EmptyWorkingSet(int hProcess); GC.Collect(); GC.WaitForPendingFinalizers(); EmptyWorkingSet(Process.GetCurrentProcess().Handle.ToInt32()); 效果十分的显著
转载于:https://www.cnblogs.com/nanfei/p/3479885.html