Skip to content

Instantly share code, notes, and snippets.

@FilippoVajana
Last active November 15, 2021 17:57
Show Gist options
  • Save FilippoVajana/0dce7d4e7c85a3a9845d475becc16173 to your computer and use it in GitHub Desktop.
Save FilippoVajana/0dce7d4e7c85a3a9845d475becc16173 to your computer and use it in GitHub Desktop.
WSL2 Configuration
[wsl2]
memory=4GB # Limits VM memory in WSL 2 to 4 GB
processors=2 # Makes the WSL 2 VM use two virtual processors
localhostForwarding=true
swap=0GB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment