Skip to content

Commit 2a525df

Browse files
Merge pull request #2332 from zwJimRaynor/main
Deprecate the pageReporting setting.
2 parents 927d5c5 + 5dd71b3 commit 2a525df

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

WSL/wsl-config.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,6 @@ This file can contain the following options that affect the VM that powers any W
233233
| `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+. |
234234
| `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. |
235235
| `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. |
237236
| `guiApplications` | boolean | `true` | Boolean to turn on or off support for GUI applications ([WSLg](https://github.com/microsoft/wslg)) in WSL.|
238237
| `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.|
239238
| `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
303302
# Sets swapfile path location, default is %UserProfile%\AppData\Local\Temp\swap.vhdx
304303
swapfile=C:\\temp\\wsl-swap.vhdx
305304

306-
# Disable page reporting so WSL retains all allocated memory claimed from Windows and releases none back when free
307-
pageReporting=false
308-
309305
# Turn on default connection to bind WSL 2 localhost to Windows localhost. Setting is ignored when networkingMode=mirrored
310306
localhostforwarding=true
311307

0 commit comments

Comments
 (0)