WSL icon indicating copy to clipboard operation
WSL copied to clipboard

Wsl swap bug

Open GXC2356 opened this issue 3 years ago • 1 comments

Windows Version

Microsoft Windows [10.0.22000.2416]

WSL Version

0.0.0.0

Are you using WSL 1 or WSL 2?

  • [X] WSL 2
  • [ ] WSL 1

Kernel Version

5.15.123

Distro Version

Ubuntu-22.04.3

Other Software

Xfce4

Repro Steps

Idk

Expected Behavior

I'm ROM builder and I'm using wsl to build roms but few days ago I started to use swap from wsl.config file instead of distro swap and expected to continue building like before

Actual Behavior

What happened is while building PC froze and for unknown reason it didn't run anything at all so I had to restart but that's not the problem, the problem is swap size still taken from C drive and there's no much space in C, tried many different ways to delete old swap but nothing (wen wsl starts to use swap it takes from c drive, wen u shutdown wsl it deletes that swap)

Plz help

Diagnostic Logs

No response

GXC2356 avatar Sep 19 '23 06:09 GXC2356

Nvm, I found swap file at C\Users\$username\AppData\Local\Temp

It's vhdx file and it have random letters and numbers btw hope wsl gets better soon, great job Microsoft

GXC2356 avatar Sep 19 '23 10:09 GXC2356