Skip to content

Instantly share code, notes, and snippets.

@jerviscui
Created October 20, 2020 09:45
Show Gist options
  • Save jerviscui/51cc4ab4b123d19c4bf4689321ee4549 to your computer and use it in GitHub Desktop.
Save jerviscui/51cc4ab4b123d19c4bf4689321ee4549 to your computer and use it in GitHub Desktop.
WSL 配置文件,路径:C:\Users\<user>
[wsl2]
processors=2 # Makes the WSL 2 VM use two virtual processors
memory=4GB # Limits VM memory in WSL 2 to 4 GB
swap=1GB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment