I installed docker on windows home which uses WSL2 as a backend. However, since doing this a process called
vmmem
seems to be consistently consuming a lot of computational resources. I randocker stop $(docker ps -aq)
to kill all running containers (there were 12 – oops) which has improved the issue significantly. However, even after closing docker downvmmem
is still taking ~1.5 – 2Gb of ram and ~20% CPU. Since there are no longer any containers running, shouldn’t the resource consumption ofvmmem
be minimal? How can I reduce the consumption of thevmmem
process?
Answer
Daniiel B is on the money. To turn off Vmmem simply go into Powershell or whatever terminal you like to use under admin rights and enter the command wsl --shutdown
, when your done with playing in wsl1/2.
Attribution
Source : Link , Question Author : CiaranWelsh , Answer Author : M.S. Dousti