You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: WSL/wsl-config.md
-4Lines changed: 0 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -233,7 +233,6 @@ This file can contain the following options that affect the VM that powers any W
233
233
|`safeMode`| boolean |`false`| Run WSL in "Safe Mode" which disables many features and is intended to be used to recover distributions that are in bad states. Only available for Windows 11 and WSL version 0.66.2+. |
234
234
|`swap`| size | 25% of memory size on Windows rounded up to the nearest GB | How much swap space to add to the WSL 2 VM, 0 for no swap file. Swap storage is disk-based RAM used when memory demand exceeds limit on hardware device. |
235
235
|`swapFile`| path |`%Temp%\swap.vhdx`| An absolute Windows path to the swap virtual hard disk. |
236
-
|`pageReporting`| boolean |`true`| Setting enables Windows to reclaim unused memory allocated to WSL 2 virtual machine. |
237
236
|`guiApplications`| boolean |`true`| Boolean to turn on or off support for GUI applications ([WSLg](https://github.com/microsoft/wslg)) in WSL.|
238
237
|`debugConsole`¹ | boolean |`false`| Boolean to turn on an output console Window that shows the contents of `dmesg` upon start of a WSL 2 distro instance.|
239
238
|`maxCrashDumpCount`| number |`10`| Set the maximum number of crash dump files that will be retained for debugging purposes. The default number retained by WSL is 10. When this limit is exceeded, older crash dumps will be automatically deleted to make room for new ones. Setting a max can help with reducing the amount of disk space used by these crash files. |
@@ -303,9 +302,6 @@ swap=8GB
303
302
# Sets swapfile path location, default is %UserProfile%\AppData\Local\Temp\swap.vhdx
304
303
swapfile=C:\\temp\\wsl-swap.vhdx
305
304
306
-
# Disable page reporting so WSL retains all allocated memory claimed from Windows and releases none back when free
307
-
pageReporting=false
308
-
309
305
# Turn on default connection to bind WSL 2 localhost to Windows localhost. Setting is ignored when networkingMode=mirrored
0 commit comments