Skip to content

Commit 35c5c93

Browse files
authored
Update wsl-config.md: Fix memory default (#820)
This commit reflect change in default memory consumption introduced in `20175` build https://docs.microsoft.com/windows/wsl/release-notes#build-20175
1 parent 2f4f8fb commit 35c5c93

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

WSL/wsl-config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ These settings affect the VM that powers any WSL 2 distribution.
340340
| key | value | default | notes|
341341
|:----|:----|:----|:----|
342342
| kernel | string | The Microsoft built kernel provided inbox | An absolute Windows path to a custom Linux kernel. |
343-
| memory | size | 80% of your total memory on Windows * | How much memory to assign to the WSL 2 VM. |
343+
| memory | size | 50% of total memory on Windows or 8GB, whichever is less; on builds before 20175: 80% of your total memory on Windows | How much memory to assign to the WSL 2 VM. |
344344
| processors | number | The same number of processors on Windows | How many processors to assign to the WSL 2 VM. |
345345
| localhostForwarding | boolean | `true` | Boolean specifying if ports bound to wildcard or localhost in the WSL 2 VM should be connectable from the host via localhost:port. |
346346
| kernelCommandLine | string | Blank | Additional kernel command line arguments. |

0 commit comments

Comments
 (0)