vmmen process consuming too much memory (Docker Desktop)

Clean Docker Desktop install, starts WSL 2, no container running. Let’s check the memory usage:

Ouch, that’s too much for having (literally) nothing running. I don’t know why it eats so much RAM, but there’s a quick fix.

Create the file C:\Users\&l…


This content originally appeared on DEV Community and was authored by Talles L

Clean Docker Desktop install, starts WSL 2, no container running. Let's check the memory usage:

t

Ouch, that's too much for having (literally) nothing running. I don't know why it eats so much RAM, but there's a quick fix.

Create the file C:\Users\<username>\.wslconfig like the example below:

[wsl2]
processors=1
memory=1GB

Run wsl --shutdown from a terminal, try it again, and there you have it:

In the meanwhile I suggest you to stay tuned to this issue, hopefully there will be a proper fix in the future.

P.S.:

Even when limiting the memory, vmmen still hungry, when set to 512MB I get an error:


This content originally appeared on DEV Community and was authored by Talles L


Print Share Comment Cite Upload Translate Updates
APA

Talles L | Sciencx (2021-03-20T19:01:13+00:00) vmmen process consuming too much memory (Docker Desktop). Retrieved from https://www.scien.cx/2021/03/20/vmmen-process-consuming-too-much-memory-docker-desktop/

MLA
" » vmmen process consuming too much memory (Docker Desktop)." Talles L | Sciencx - Saturday March 20, 2021, https://www.scien.cx/2021/03/20/vmmen-process-consuming-too-much-memory-docker-desktop/
HARVARD
Talles L | Sciencx Saturday March 20, 2021 » vmmen process consuming too much memory (Docker Desktop)., viewed ,<https://www.scien.cx/2021/03/20/vmmen-process-consuming-too-much-memory-docker-desktop/>
VANCOUVER
Talles L | Sciencx - » vmmen process consuming too much memory (Docker Desktop). [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/03/20/vmmen-process-consuming-too-much-memory-docker-desktop/
CHICAGO
" » vmmen process consuming too much memory (Docker Desktop)." Talles L | Sciencx - Accessed . https://www.scien.cx/2021/03/20/vmmen-process-consuming-too-much-memory-docker-desktop/
IEEE
" » vmmen process consuming too much memory (Docker Desktop)." Talles L | Sciencx [Online]. Available: https://www.scien.cx/2021/03/20/vmmen-process-consuming-too-much-memory-docker-desktop/. [Accessed: ]
rf:citation
» vmmen process consuming too much memory (Docker Desktop) | Talles L | Sciencx | https://www.scien.cx/2021/03/20/vmmen-process-consuming-too-much-memory-docker-desktop/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.