Windows Version
Microsoft Windows [Version 10.0.26100.3323]
WSL Version
WSL version: 2.4.11.0
Are you using WSL 1 or WSL 2?
Kernel Version
Linux version 5.15.167.4-microsoft-standard-WSL2 (root@f9c826d3017f) (gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.37) #1 SMP Tue Nov 5 00:21:55 UTC 2024
Distro Version
Ubuntu 24.04.1 LTS
Other Software
No response
Repro Steps
Open the WSL Setting GUI app (as downloaded from App Store).
Change the setting for Memory Size under 'Memory and Processor'.
Observe .wslconfig file now have memory= on line2, without any [wsl2] heading above it.
Start WSL Ubuntu, observe in Ubuntu terminal:
"wsl: Unknown key 'memory' in C:\Users\xxx .wslconfig:2"
Expected Behavior
I'm new to this, but I don't think the GUI should be mishandling the .wslconfig file for something as basic as this?
That said, it does appear that WSL respects the changed max RAM setting.
Actual Behavior
As described above.
Diagnostic Logs
No response
Windows Version
Microsoft Windows [Version 10.0.26100.3323]
WSL Version
WSL version: 2.4.11.0
Are you using WSL 1 or WSL 2?
Kernel Version
Linux version 5.15.167.4-microsoft-standard-WSL2 (root@f9c826d3017f) (gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.37) #1 SMP Tue Nov 5 00:21:55 UTC 2024
Distro Version
Ubuntu 24.04.1 LTS
Other Software
No response
Repro Steps
Open the WSL Setting GUI app (as downloaded from App Store).
Change the setting for Memory Size under 'Memory and Processor'.
Observe .wslconfig file now have memory= on line2, without any [wsl2] heading above it.
Start WSL Ubuntu, observe in Ubuntu terminal:
"wsl: Unknown key 'memory' in C:\Users\xxx .wslconfig:2"
Expected Behavior
I'm new to this, but I don't think the GUI should be mishandling the .wslconfig file for something as basic as this?
That said, it does appear that WSL respects the changed max RAM setting.
Actual Behavior
As described above.
Diagnostic Logs
No response