title: Stopping Vmmem from using RAM
body: <p>I am using Docker to run some containers on Windows 10, and when I was done I noticed an application named vmmem was using almost all of my ram: ~12GB. According to <a href="https://devblogs.microsoft.com/oldnewthing/20180717-00/?p=99265#:%7E:text=The%20vmmem%20process%20is%20a,of%20memory%20and%20CPU%20resources." rel="noreferrer">this</a> it is because of Docker and it said if I closed all docker images and containers it would stop. So I stopped and removed all Docker containers and images by the following batch file:</p>
  <pre><code>@echo off
  FOR /f &quot;tokens=*&quot; %%i IN ('docker ps -aq') DO docker rm %%i
  FOR /f &quot;tokens=*&quot; %%i IN ('docker images --format &quot;{{.ID}}&quot;') DO docker rmi %%i
  </code></pre>
  <p>from: <a href="https://gist.github.com/daredude/045910c5a715c02a3d06362830d045b6" rel="noreferrer">https://gist.github.com/daredude/045910c5a715c02a3d06362830d045b6</a></p>
  <p>so when you type <code>docker container ls -a</code> &amp; <code>docker image ls -a</code> they both show nothing. However in Task Manager I still see vmmem using about 4 GB of RAM. What else can I do to stop this? Thanks.</p>