[DllImport("psapi.dll")] private static extern int EmptyWorkingSet(int hProcess); GC.Collect(); GC.WaitForPendingFinalizers(); EmptyWorkingSet(Process.GetCurrentProcess().Handle.ToInt32()); 效果十分的显著