Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
My ~/Library/Application Support/Cursor folder is sitting at 49 GB. Is this expected, or is there a way to clean this up safely? This is a huge amount of disk usage
Steps to Reproduce
N/A
Operating System
MacOS
Version Information
Version: 3.17.21 (Universal)
VS Code Extension API: 1.128.0
Commit: 8f2a112cb2845a97b75fd932ea5c470579ca4060
Date: 2026-08-25T01:05:08.089Z
Layout: Agent Window
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.291
OS: Darwin arm64 24.6.0
Does this stop you from using Cursor
No - Cursor works, but with this issue
Hey @Samuel_Talenti
Almost all of that is User/globalStorage/state.vscdb - your local chat/agent history, which currently grows with no age limit. Nothing’s broken, and it’s an issue we’re tracking. To reclaim space safely:
- Fully quit Cursor and check
~/Library/Application Support/Cursor/User/globalStorage/ - a large state.vscdb.backup there is safe to delete (leave state.vscdb itself alone).
- Reopen Cursor and run Developer: GC Agent KV Blobs (Cmd+Shift+P) to compact the DB without deleting any chats.
- Still large? Run Developer: Delete Old Chats…, pick an age cutoff, then it compacts - back up
state.vscdb first if you want to keep older history.
Heads up: compaction temporarily needs free space roughly equal to the DB size, and may not reclaim everything in one pass. If it barely shrinks, reply with the before/after sizes and I’ll walk you through a full reset.