在 %UserProfile% 文件夹下创建
可以用命令查看路径
echo %UserProfile%
.wslconfig
文件,内容为
[wsl2]
memory=4GB
swap=8GB
localhostForwarding=true
在 %UserProfile% 文件夹下创建
可以用命令查看路径
echo %UserProfile%
.wslconfig
文件,内容为
[wsl2]
memory=4GB
swap=8GB
localhostForwarding=true