creating a .wslconfig file in c:\users\*your your profile name* containing the lines:
[wsl2]
memory=4GB # Limits VM memory in WSL 2 to 4 GB
processors=2 # Makes the WSL 2 VM use two virtual processors
from Powershell with admin rights, restart WSL2 by typing: Restart-Service LxssManager
You should be okay setting memory=4GB although you may find things, particularly in the second half of the course, run more smoothly by setting memory=4GB
Via a student:
.wslconfig
file inc:\users\*your your profile name*
containing the lines:Restart-Service LxssManager
You should be okay setting
memory=4GB
although you may find things, particularly in the second half of the course, run more smoothly by settingmemory=4GB