microsoft / microsoft/vscode

Cache data grows beyond ridiculous

Open
#325,840 1 comment 0 reactions 1 assignee Claimed by @sandy081 View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Type: Bug

I have been lazy over the years to report this.
VSC stores information in folders such as
Cache, CachedData, Code Cache, User\History just to name a few.

The issue, is that there is no way to clean these all up. Within just a few days these folders grow extremely large.
I cannot believe no one has implemented a cleanup on all the things is saves. This is a terrible solution especially for backups.

VS Code version: Code 1.128.1 (5264f2156cbcd7aea5fd004d29eaa10209155d66, 2026-07-14T07:19:31-07:00)
OS version: Windows_NT x64 10.0.26200
Modes:

System Info

|Item|Value|
|---|---|
|CPUs|AMD Ryzen 9 5950X 16-Core Processor (32 x 4100)|
|GPU Status|2d_canvas: enabled
GPU0: VENDOR= 0x10de, DEVICE=0x21c4 [NVIDIA GeForce GTX 1660 SUPER], DRIVER_VENDOR=NVIDIA, DRIVER_VERSION=32.0.16.1074 *ACTIVE*
GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8521
Machine model name:
Machine model version:
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off|
|Load (avg)|undefined|
|Memory (System)|31.91GB (20.42GB free)|
|Process Argv|--crash-reporter-id e5116c46-40ed-40db-b992-931603b0848d|
|Screen Reader|no|
|VM|0%|
Extensions (5)

Name|Identifier|Author|Version
---|---|---|---
ESP-IDF|espressif.esp-idf-extension|espressif|2.1.0
C/C++ DevTools|ms-vscode.cpp-devtools|ms-vscode|0.5.13
C/C++|ms-vscode.cpptools|ms-vscode|1.32.2
PowerShell|ms-vscode.powershell|ms-vscode|2025.4.0
Live Server|ritwickdey.liveserver|ritwickdey|5.7.10

A/B Experiments

```
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
82j33506:31327384
6abeh943:31336334
envsdeactivate2:31538737
gh487529:31544284
cloudbuttont:31379625
3efgi100_wstrepl:31403338
ec5jj548:31422691
cp_cls_t_966_ss:31526232
4je02754:31466945
8hhj4413:31478653
cp_cls_c_1081:31454833
conptydll_true:31498968
e9c30283:31461165
test_control1:31471004
46204921:31447328
capi_axe_098a3278:31544981
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
nes-extended-on:31455476
chat:31457767
8hig5102:31480529
89g7j272:31518289
7e187181:31503455
i2gc6536:31499202
52612955:31516516
ghj88844:31499326
ddid_c:31478207
hmra_i5g22:31518061
ja75b849:31547460
7df3h592:31512476
cp_cls_t_1082:31535311
logging_enabled_new:31498466
j0d79568:31499440
jb_cp_cls_t_632:31543129
852d2892:31506239
56dj4588:31512888
32d76977:31512328
ha629193:31508444
cdk-lw-on:31524445
f9bf7985:31543584
jh5f2457_c:31540921
g4a0e106:31529594
41836166:31537719
jbcp_cls_pctr_t:31531130
61138546:31518536
cp_intellij_t_nes:31548657
jf4hg949:31526829
nes-curr-leftover-1500:31538366
h561g132:31533256
session_8:31532895
chatquotatrajectorynudge-control:31548766
ihg5j128:31534457
f412h606:31546039
7g2b5551:31542111
nes-nc-nf-2k:31546582

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.