innovationOUtside / tm351vm-binder

See if we can generate a Binder/repo2docker build of the TM351 VM
MIT License
7 stars 4 forks source link

docker hogs Windows resources under WSL2 #32

Open psychemedia opened 4 years ago

psychemedia commented 4 years ago

Via a student:

  1. 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
  2. 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