Answers for "wsl configuration options"

1

wslconfig

## Create .wslconfig in C:/Users/youruser

[wsl2]
memory=3GB   # Limits VM memory in WSL 2 up to 3GB
processors=4 # Makes the WSL 2 VM use two virtual processors
Posted by: Guest on August-10-2021
2

wslconfig example

[wsl2]
# https://docs.microsoft.com/en-us/windows/wsl/wsl-config (Docs)
# https://github.com/microsoft/WSL/issues/4166 (Topic)
memory=4GB
swap=16GB
localhostForwarding=true
Posted by: Guest on May-16-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language