rizz.dev
homeaboutblogcontactGitHub
  1. Home
  2. /
  3. Glossary
  4. /
  5. .wslconfig
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 term->automatic memory reclaimA WSL2 experimental setting controlling how aggressively the VM returns idle memory to Windows, either immediately or gradually as usage falls.view term->mirrored 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 term->sparse 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 term->wsl --shutdownA PowerShell command that fully stops the WSL2 virtual machine and every running distro inside it, required before configuration file edits take effect.view term->wsl.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
cited by
0 posts
categories
0
first used
—
previous.mcp.json routenext/btw