-
-
Save mvankuipers/c1de345d571cfe79619e332e65360d25 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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