What is a file .wslconfig good for?
Experience Level: Junior
Tags: WSL
Answer
In this file you can configure resource limits.
Limits on the
- memory,
- CPU,
- swap size allocated to WSL 2
can be set.
Related WSL job interview questions
How can you access WSL from Windows?
WSL JuniorHow do you limit memory usage of WSL?
WSL JuniorHow do you re-run WSL that you stopped before?
WSL JuniorHow do you shutdown WSL?
WSL JuniorHow do you set your distro as default so that you can access it after executing wsl command?
WSL Junior