Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ever Increasing Data Size #772

Open
illuzn opened this issue Jan 22, 2024 · 15 comments
Open

Ever Increasing Data Size #772

illuzn opened this issue Jan 22, 2024 · 15 comments
Labels
stale There has not been activity on this issue or PR for quite some time.

Comments

@illuzn
Copy link

illuzn commented Jan 22, 2024

Problem/Motivation

My instance of VS Code has been running for around 2 years. I haven't really been paying attention to data size since data is cheap but I've been paying close attention to it now because my backups are consuming 50GB+ to keep 90 days worth of backups.

I've noticed that VSCode takes up around 200MB each backup. I can see that this stems from primarily from 3 sources:

  1. Deleted extensions are not removed from /data/vscode/extensions properly.
  2. /data/vscode/User/globalStorage/lukas-tr.materialdesignicons-intellisense stores multiple copies of this extension (I had around 10 copies).
  3. /data/vscode/CachedExtensionVSIXs is never cleared out and keeps extensions I installed then deleted more than 6 months ago.

Manually, deleting from these 3 folders reduces my backup size to 3.2MB.

Expected behavior

  1. Removed extensions should be deleted from this folder.
  2. Only 1 copy of this extension should be stored (curiously, I don't know where these come from).
  3. This cache should be purged periodically, say every 30 days.

Actual behavior

  1. These extensions are not deleted correctly.
  2. Multiple copies are kept. Curiously the version numbering doesn't correspond with github or vs code marketplace.
  3. This cache seems to be kept indefinitely.

Steps to reproduce

  1. Add an extension, delete it, it should remain in this folder indefinitely.
  2. Unknown, further information provided below.
  3. Add an extension, delete it, it should remain in this folder indefinitely.

Further Information

Regarding number 2, I was seeing the following copies of this extension:

3.8M    ./7.0.96
3.4M    ./6.4.95
3.7M    ./6.9.96
4.6M    ./7.3.67
3.8M    ./7.1.96
3.6M    ./6.7.96
4.6M    ./7.4.47
4.5M    ./7.2.96

Curiously, these version numbers do not correspond with any github/ marketplace releases or with a VSCode version number. This extension hasn't received that many updates in the last 2 years so I don't know where these multiple versions come from.

Copy link

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Feb 22, 2024
@illuzn
Copy link
Author

illuzn commented Feb 23, 2024

bump

@github-actions github-actions bot removed the stale There has not been activity on this issue or PR for quite some time. label Feb 23, 2024
Copy link

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Mar 25, 2024
@illuzn
Copy link
Author

illuzn commented Mar 27, 2024

bump

@github-actions github-actions bot removed the stale There has not been activity on this issue or PR for quite some time. label Mar 27, 2024
Copy link

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Apr 27, 2024
@illuzn
Copy link
Author

illuzn commented May 1, 2024

Bump

@github-actions github-actions bot removed the stale There has not been activity on this issue or PR for quite some time. label May 2, 2024
Copy link

github-actions bot commented Jun 1, 2024

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Jun 1, 2024
@illuzn
Copy link
Author

illuzn commented Jun 4, 2024

Bump

@github-actions github-actions bot removed the stale There has not been activity on this issue or PR for quite some time. label Jun 4, 2024
Copy link

github-actions bot commented Jul 4, 2024

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Jul 4, 2024
@illuzn
Copy link
Author

illuzn commented Jul 5, 2024

Bump

@github-actions github-actions bot removed the stale There has not been activity on this issue or PR for quite some time. label Jul 5, 2024
Copy link

github-actions bot commented Aug 5, 2024

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Aug 5, 2024
@illuzn
Copy link
Author

illuzn commented Aug 6, 2024

bump

@github-actions github-actions bot removed the stale There has not been activity on this issue or PR for quite some time. label Aug 6, 2024
Copy link

github-actions bot commented Sep 5, 2024

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Sep 5, 2024
@illuzn
Copy link
Author

illuzn commented Sep 5, 2024

Bump

@github-actions github-actions bot removed the stale There has not been activity on this issue or PR for quite some time. label Sep 6, 2024
Copy link

github-actions bot commented Oct 7, 2024

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale There has not been activity on this issue or PR for quite some time.
Projects
None yet
Development

No branches or pull requests

1 participant