-
Notifications
You must be signed in to change notification settings - Fork 841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
high vmmem - memory usage when converting from wsl1 to wsl2 #4159
Comments
Duplicate of #4166. |
This ever get fixed? WSL just used all 64gb of my ram. I tried shutting down wsl and now its just hanging and it won't allow me to start wsl again. |
There is a WORKAROUND on 14-may: #4166 (comment) |
fierce! |
As #4166 has been locked; I just hope the final fix doesn't boil down to just putting a hard limit on the VM RAM usage. |
this is steadily increasing RAM consumption. Suggest a fix please #4166 |
Workarounds:
With limits that suits your needs. Official support:As written in #4166 issue in build 20175 Microsoft has changed the default memory scheme in WSL 2 to use 50% of your memory in Windows, or 8GB (whichever is smaller). |
I fixed this issue by using the following command in your powershell: |
I am trying to convert my wsl 2 to 1, and ran into this memory issue. I tried the UpdateI was being impatient...the memory still climb up to about 7 GB during the conversion, but it eventually released the memory and finished the conversion. |
This is still a issue in 2021. Does anybody have a workaround? |
Still an issue, just |
2023 any updates pls? |
Same issue here, there are some fix ? thx :) |
I'm experiencing extreme memory usage while converting a wsl1 image to wsl 2. Apparently vmmem keeps increasing steadily, for me it reached up to 16GB of RAM of a 32GB total.
Your Windows build number: (Type
ver
at a Windows Command Prompt)Version 10.0.18917 Build 18917
What you're doing and what's happening: (Copy&paste the full set of specific command-line steps necessary to reproduce the behavior, and their output. Include screen shots if that helps demonstrate the problem.)
Converting a kali-linux image from wsl1 to wsl2
What's wrong / what should be happening instead:
the memory usage is constantly increasing. Possible memory leak?
Normally the process should be completed with minimum memory usage.
The text was updated successfully, but these errors were encountered: