BartmanAbyss / vscode-amiga-debug

One-stop Visual Studio Code Extension to compile, debug and profile Amiga C/C++ programs compiled by the bundled gcc 12.2 with the bundled WinUAE/FS-UAE.
GNU General Public License v3.0
316 stars 39 forks source link

Service worker files pile up? #204

Open tehKaiN opened 1 year ago

tehKaiN commented 1 year ago

I've just inspected my disk and have something like 30GB of service worker cache. Looks like a lot of 16MB files.

obraz

When looking at one of them I see:

obraz

looks like some kind of cache for .amigaprofile files? How to nicely get rid of them? Does the extension lack some kind of cleanup in its code?

BartmanAbyss commented 1 year ago

Wow, these aren't mine though. I store the temporary .amigaprofile files in %temp%, and you can clean those via this command:

                "category": "Amiga",
                "command": "amiga.cleanTemp",
                "title": "Clean Temp Files"

However, if you have any idea on what that Service Worker Cache is and how to clean it up, please let me know.

tehKaiN commented 1 year ago

yeah I know that, but I guess vscode makes a copy of them for some strange reason and in some strange format. Perhaps it's some kind of caching for displaying profiler files?

I'll try to investigate it by removing those manually and looking when they generate again.

Do you have similar files created or is it just me?

BartmanAbyss commented 1 year ago

My CacheStorage folder here is 4.4GB. I suppose it's something like a browser cache folder, as it seems to contain caches of files requested by extensions etc. e.g. https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/barto/Documents/Visual_Studio_Code/amiga-debug/dist/client.js

BartmanAbyss commented 1 year ago

apparently a known issue... https://github.com/microsoft/vscode/issues/152519 https://github.com/microsoft/vscode/issues/131226