Disable or flush page cache on Windows
I assume Windows has a similar concept to Linux's page cache for storing in memory data from disks, like files, executables and dynamic libraries. I wonder if it is possible at all to disable such cache or to the very least to clear/flush it. Damon This is called Standby List under windows. You can purge it globally, or for one volume, or for one file handle. Globally You can do it using a readily available program from Microsoft Technet, by selecting Empty → Empty Standby List Programmatically, you can achieve the same thing using the undocumented NtSetSystemInformation function, for details