Created
February 3, 2021 09:58
-
-
Save asizikov/a6ff67d8ce4b18acf77e14ca32771a32 to your computer and use it in GitHub Desktop.
Revisions
-
asizikov created this gist
Feb 3, 2021 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ #C:\Users\<yourUserName>\.wslconfig # https://blog.cloud-eng.nl/2021/02/03/wsl2-limits-vmmem/ [wsl2] memory=6GB # How much memory to assign to the WSL 2 VM. processors=4 # How many processors to assign to the WSL 2 VM. swap=1GB # How much swap space to add to the WSL 2 VM, 0 for no swap file. localhostForwarding=true # ports bound to wildcard or localhost in the WSL 2 VM should be connectable from the host via localhost:port.