Just a heads up for anyone who is developing zomes, happs or fiddling around with the holochain repository.
WSL2 has the annoying habit of ever increasing in disksize. My Ubuntu was using 110Gb on windows, even though I had only about 27Gb worth of files in Ubuntu.
It’s a know issue, and there is a workaround.
First you have to find your virtual harddrive (.vhdx)
CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc this will be different on your machine
Then run the following in powershell or cmd as administrator:
wsl --shutdown diskpart
This will open the diskpart command prompt, where you execute the following:
select vdisk file="<PATH-TO-VHDX>" attach vdisk readonly compact vdisk detach vdisk
For a more detailed explanation and alternative methods you can go to: