Home > Fresh News > Clean memory

Clean memory

February 20th, 2012 Leave a comment Go to comments
// Swaps the process out of physical RAM memory
SetProcessWorkingSetSize(GetCurrentProcess(), (SIZE_T)-1, (SIZE_T)-1);

Можно ещё делать так, когда память процесса превышает некую “норму”:

EmptyWorkingSet(GetCurrentProcess());
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.