Skip to content

Instantly share code, notes, and snippets.

@kparkov
Last active October 31, 2022 20:48
Show Gist options
  • Save kparkov/05f384a56650b5a671464dfb80529b20 to your computer and use it in GitHub Desktop.
Save kparkov/05f384a56650b5a671464dfb80529b20 to your computer and use it in GitHub Desktop.
WSL2 config allowing a max of 6GB mem usage
# Settings apply across all Linux distros running on WSL 2
[wsl2]
# Limits VM memory to use no more than 6 GB, this can be set as whole numbers using GB or MB
memory=6GB
@kparkov
Copy link
Author

kparkov commented Oct 31, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment