How to fixed a huge sc.user_paged.1.etl  in %userprofile%\AppData\Local\Temp\PW

Today there was a case where my colleague's system showed a Low Disk Space warning. I used Tree Size to investigate and found a file sc.user_paged.1.etl in the path C:\Users\<<YourUser>>\AppData\Local\Temp\PW that was almost 50 GB in size.

I researched and discovered that this file was created by Visual Studio Standard Collector (StandardCollector.Service.exe) and discovered it's a bug in Visual Studio 2022. (Ref: Visual Studio Standard Collector stores a huge (80 GB) ETL trace)

For the solution, it can be fixed by following these steps:

  • kill process StandardCollector.Service.exe
  • manual delete file sc.user_paged.1.etl 
  • Restart Computer
  • Update Visual Studio 2022 to latest version

Reference


Discover more from naiwaen@DebuggingSoft

Subscribe to get the latest posts sent to your email.