ubuntu – How much memory does WSL use on Windows?

Determine the disk usage under Linux

With a tool like ncdu can also simplify determining disk usage with a nice CLI interface.

Install ncdu

sudo apt install ncdu  

Run Ncdu

So we do not get all windows directories for the ride, we have to exclude that /mnt Directory.

ncdu --exclude /mnt

Detect under Windows

Under Windows Apps & Features it lists Ubuntu "WSL2" as receiving 1.92 GB

ncdu reports 1.7 GiB (~ 1.82 GB), which is pretty close to the Windows reports.

WSL Legacy "Bash on Ubuntu on Linux"

I could not find how much space I had Bash on Ubuntu on Linux was occupied by Windows, but I could see by running how much it consumed ncdu --exclude /mnt,

Related research