Last active
May 19, 2022 17:39
-
-
Save joesoeph/079c400ef1fb435fe6836b04cc04d51d to your computer and use it in GitHub Desktop.
Example configuration file WSL2 to prevent consuming massive memory on your computer. For more detail about this snippet, please visit links in this file script.
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
[wsl2] | |
# https://docs.microsoft.com/en-us/windows/wsl/wsl-config (Docs) | |
# https://github.com/microsoft/WSL/issues/4166 (Topic) | |
# Example save location: C:\Users\lenovo | |
memory=4GB | |
swap=16GB | |
localhostForwarding=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi may i know where to create this file? eg:
c:\User(username)>
or in wls login