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