title: Docker for Windows: The requested resource is in use error when mem_limit is set
body: <h2>The problem</h2>
  <p>Every so often I stumble upon a Windows container which refuses to run with mem_limit set with the following exception:</p>
  <pre><code>Error response from daemon: hcsshim::CreateComputeSystem {container_guid}: The requested resource is in use.
  </code></pre>
  <p>Interestingly, it runs just fine, if I omit the mem_limit setting. The value of mem_limit can be anything and it can affect any container, even those that used to work just fine.</p>
  <h2>My setup</h2>
  <p>OS: Windows 10 Pro 20H2, but I've been having this problem on pretty much all the versions of Windows 10 I had.
  Docker version: 20.10.5, build 55c4c88
  RAM: 64 GB</p>
  <h2>How to reproduce the problem</h2>
  <p>I don't know, but it seems that restoring Docker to factory defaults helps. (it does seem to help only if your <code>data-root</code> is the default one, which is not the case for me.)</p>