Open MurzNN opened 1 year ago
Will be good to have the built-in default ability to auto clean up all old versions with keeping the last 3 versions.
Or cleanup by the last use time of the version, to keep even very old versions that are still in use by some developers for some reason.
Just ran in to this, 6GB since Feb 2022 🤯
I assume it's safe to just delete .vscode-server
and let it recreate it on next connection?
Because I just did that, and it seems to work, and directory is only 160 MB now.
VSCode Version: Version: 1.81.1 Commit: 6c3e3dba23e8fadc360aed75ce363ba185c49794 Date: 2023-08-09T22:18:39.991Z Electron: 22.3.18 ElectronBuildId: 22689846 Chromium: 108.0.5359.215 Node.js: 16.17.1 V8: 10.8.168.25-electron.0 OS: Linux x64 6.2.0-27-generic
Local OS Version: Ubuntu 22.04
Remote OS Version: Ubuntu 22.04
Remote Extension/Connection Type: Containers
I have a problem with the
.vscode-server/bin
directory on remote containers - it is always growing! So, in time it grows to huge sizes of several gigabytes! And now I have 19 gigabytes occupied by this folder!It contains cached versions of the vscode server from all previous versions, so on each new release I'm getting a new bunch of megabytes here.
To resolve this problem, I think VS Code should include some cleanup procedure, that removes the oldest versions from this folder automatically.