Cursor state.vscdb growing at 1 GB in a day

Hey, thanks for the report. I see the screenshot. 12,7 GB for state.vscdb plus 12,4 GB for the backup is definitely not normal.

This is a known issue. A few users are reporting the same uncontrolled growth. As you already saw, VACUUM doesn’t help in these cases, so it’s not fragmentation. It’s actual accumulated data.

I wouldn’t delete state.vscdb. Like you found, it breaks chat loading: Deleting global state.vscdb causes infinite 'Loading Chat' in projects, history not recoverable without corrupted backup

If you want to help us debug, you can check which tables are bloated. Fully quit Cursor, then run:

sqlite3 ~/Library/Application\ Support/Cursor/User/globalStorage/state.vscdb "SELECT name, SUM(pgsize) as size FROM dbstat GROUP BY name ORDER BY size DESC LIMIT 10;"

This will show the top 10 tables by size. Seeing that output would be really helpful.

I’ve shared this with the team along with other similar reports. For now, unfortunately, there isn’t a reliable workaround. Let me know what you get from the request above.