We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This .wslconfig file will report an error on starting the WSL2 host compute system instance / virtualized environment:
.wslconfig
[wsl2] swap=0GB
The error is:
$ wsl wsl: Invalid memory string '0GB' for .wslconfig entry 'wsl2.swap'
This line isn't logged 1.2.5.
The text was updated successfully, but these errors were encountered:
@AaronFriel the instructions at https://learn.microsoft.com/en-us/windows/wsl/wsl-config specifies 0 for no swap file and it works when swap=0 is set in .wslconfig
0 for no swap file
swap=0
Sorry, something went wrong.
Fixed with https://github.com/microsoft/WSL/releases/tag/2.0.1.
OneBlue
No branches or pull requests
This
.wslconfig
file will report an error on starting the WSL2 host compute system instance / virtualized environment:The error is:
This line isn't logged 1.2.5.
The text was updated successfully, but these errors were encountered: