Glossary · term02 of 202
.wslconfig
A Windows-side ini file at %UserProfile%\.wslconfig that sets WSL2 VM-wide resource limits like memory, swap, and processor count for every distro.
also written as .wslconfig file
Related terms
OOM killThe Linux kernel's out-of-memory killer, which terminates a process when available memory runs out, preferable to Windows swapping the whole host to a crawl.view termautomatic memory reclaimA WSL2 experimental setting controlling how aggressively the VM returns idle memory to Windows, either immediately or gradually as usage falls.view termmirrored networking modeA WSL2 networking setting that makes the VM share the host's network interfaces directly. A server bound inside WSL becomes reachable from Windows and the LAN without manual port forwarding.view termsparse VHDA WSL2 disk-image setting that lets the virtual hard disk backing a distro shrink back down after files are deleted. Without it the disk file only grows, quietly consuming Windows drive space over time.view termwsl --shutdownA PowerShell command that fully stops the WSL2 virtual machine and every running distro inside it, required before configuration file edits take effect.view termwsl.confA per-distro configuration file inside WSL at /etc/wsl.conf that controls interop behavior, such as whether the Windows PATH gets imported automatically.view term
At a glance
previous.mcp.json routenext/btw- cited by
- 0 posts
- categories
- 0
- first used
- —