At Is there a way to reset Windows file cache? we learnt how to use RamMap to free up the all-you-can-eat Windows file cache, which was nice.
Am I the only person to think that reducing cache sizes in Windows VMs is an obvious win? Most guest cache is a wasted resource. If you could put the cache on a diet, you could reduce guest memory allocations without increasing swapping.
So the question is, how do you get the equivalent of something like RAMMap Empty Standby List running as a scheduled process? RamMap doesn't take arguments other than for logging. A scheduled task to flush the cache would be crude, but better than having to accommodate a cache algorithm that was never designed, and that MS appears not to have bothered to adapt, for virtualization.
Other suggestions welcome.