Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Cursor is taking almost 30 GB on my disk, and it seems most of the space is used by the state.db and state.db backup.
This seems not normal. Is it safe to delete it?
I’ve seen another issue (Deleting global state.vscdb causes infinite 'Loading Chat' in projects, history not recoverable without corrupted backup) that deleting it could cause a broken state in the chat indexing.
I already tried to run the vacuum command on the SQLite database as suggested, but without any success.
Steps to Reproduce
Use cursor
Expected Behavior
Should not take so much space or at least should be safe to delete
Screenshots / Screen Recordings
Operating System
MacOS
Version Information
Version: 2.5.26
VSCode Version: 1.105.1
Commit: 7d96c2a03bb088ad367615e9da1a3fe20fbbc6a0
Date: 2026-02-26T04:57:56.825Z
Build Type: Stable
Release Track: Default
Electron: 39.4.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.3.0
For AI issues: which model did you use?
Opus 4.6
Does this stop you from using Cursor
No - Cursor works, but with this issue
