Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// Unlock the virtual memory (just in case).
VirtualUnlock(Private, 4096);
// Flush the process' working set.
SetProcessWorkingSetSize(GetCurrentProcess(), (SIZE_T)-1, (SIZE_T)-1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.