Created
February 2, 2023 13:43
-
-
Save kelverarruda/443ea00d6ef42c4de1e230db94ffa1f4 to your computer and use it in GitHub Desktop.
limit memory and cpu wslconfig
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 4 GB, this can be set as whole numbers using GB or MB | |
memory=4GB | |
# Sets the VM to use two virtual processors | |
processors=2 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment