Last active
October 31, 2022 20:48
-
-
Save kparkov/05f384a56650b5a671464dfb80529b20 to your computer and use it in GitHub Desktop.
WSL2 config allowing a max of 6GB mem usage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Read more: https://learn.microsoft.com/en-us/windows/wsl/wsl-config