title: Memory-mapped files remain in physical memory?
body: <p>I have a process that uses a lot of memory mapped files.<br>
  Problem is that those files are kept in physical memory, even when the machine is low on memory, and other processes require this memory.</p>
  
  <p>I've tried using <a href="http://msdn.microsoft.com/en-us/library/ms686234%28VS.85%29.aspx" rel="nofollow noreferrer">SetProcessWorkingSetSize</a> to limit the process working set, but it doesn't help, the process' working set keeps growing over the max value.</p>
  
  <p>Is there a better way to limit the process' working set?<br>
  Can I change Windows' heuristcs for paging memory mapped files?</p>