News for hackers. Stuff that matters.
Re:Windows Subsystem for Linux September 2023 update by sznio on Tuesday September 19, 2023 @08:10AM (#37568825)
> autoMemoryReclaim – Makes the WSL VM shrink in memory as you use it by reclaiming cached memory

> Sparse VHD – Automatically shrinks the WSL virtual hard disk (VHD) as you use it

Finally. For the first one I would just restart the VM, but the second just consumed my whole drive with no way to get it back. I had to resort to enabling filesystem compression on the vhd file.

Re:Windows Subsystem for Linux September 2023 update by biscuitech on Tuesday September 19, 2023 @06:18PM (#37577720)
Is this why the WindowsApp/Ubuntu folder was hitting upwards 70Gbs recently?

I never really paid attention to the size of the VHD, and assumed that I had somehow generated gigabytes of dist and node_modules.

Re:Windows Subsystem for Linux September 2023 update by waych on Tuesday September 19, 2023 @06:50PM (#37578135)
Isn't this just an fstrim followed by Optimize-VHD to get the space back?