Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

docker wsl2 vmmem

c:users*your profile name*.wslconfig

[wsl2]
memory=4GB # Limits VM memory in WSL 2 to 4 GB
processors=5 # Makes the WSL 2 VM use two virtual processors

Powershell
> Restart-Service LxssManager
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #docker #vmmem
ADD COMMENT
Topic
Name
7+1 =