Windows: Disable caching of large files
Using Cacheset.exe from the Sysinternals Suite by MS solved the problem for me. Remember to run it as administrator, otherwise it will tell you that the values you entered are invalid.
Normally, caching the files should not be a problem, pushing other contents of the RAM out is. Check if you have the LargeSystemCache
setting in HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
set. I suspect this is the real cause of the "clearing everything else" behavior. (My system was swapping out active processes while trying to cache a video I was encoding with avidemux).