Guide · Cursor
Cursor is using 100+ GB
When Cursor grows that large, most of it is usually your saved chat and agent history, not cache. Here is which parts come back on their own, which are your history, and how to shrink it without losing chats.
Updated 10 November 2026.
Where Cursor keeps its files
A Cursor team member names two folders for all of Cursor's local data on a Mac:
~/Library/Application Support/Cursor~/.cursor
~ means your home folder. To open one, choose Go > Go to Folder in Finder and type the path.
Cursor's own troubleshooting guide is plain about which one grows: "For most users the largest contributor is stored Cursor Agent conversations, not extensions."
The big one: your chat and agent history
Cursor staff say the file is state.vscdb, in ~/Library/Application Support/Cursor/User/globalStorage. It holds your local chat and agent history and checkpoints. It does not hold your settings, your extensions or your project files.
It keeps growing. Cursor staff wrote that Cursor does not yet trim or compact the chat and agent history it saves on your Mac, and that the history "currently grows with no age limit". Heavy use of agents that start copies of themselves multiplies what is saved. In September 2026 they called the growth an issue they are tracking.
On Cursor's forum, users have reported this one file at 97 GB and at 188 GB, and Cursor's total use at 125 GB and 231 GB.
Do not delete or rename state.vscdb. Cursor staff say that is what causes the endless "Loading Chat" problem. Earlier in 2026, staff also described chat data kept per project in User/workspaceStorage. Treat that folder as your history too.
Shrink it without losing chats
- Make sure you have free space about the size of
state.vscdb. Cursor staff say the next step needs it for a while. - In Cursor, open the Command Palette with Shift-Command-P and run Developer: GC Agent KV Blobs. On a large file it can take a minute or two.
Staff say it "only clears leftover data that's no longer attached to any conversation". Cursor's guide says it is "what compacts the file back down."
Shrink it further, if you can lose old chats
- Keep a copy of any chat you want first. What this deletes does not come back.
- In the Command Palette, run Developer: Delete Old Chats and choose an age. Cursor staff say it deletes every chat with no activity for longer than that, "including pinned ones, along with their checkpoints".
- Run Developer: GC Agent KV Blobs afterwards. Cursor's guide says Delete Old Chats on its own "often removes the entries but leaves the file the same size on disk."
What you can remove, and what it costs
| Folder or file | What it is | If it goes |
|---|---|---|
User/globalStorage/state.vscdb.backup | A fallback copy of the chat database. Staff: "it's just a fallback copy". | Your current chats are not affected. Quit Cursor fully first. Cursor writes a new copy the next time it quits, so the space comes back then. |
snapshots | Saved checkpoint states. | Staff: "You'll only lose saved checkpoint states, not your code or settings." |
~/.cursor/worktrees | Copies of your projects that Cursor Agent makes to work in. Cursor's guide says they "can add up". | Cursor removes the oldest on its own, by default past 25 worktrees or 50 GB. Change the limits, or delete one, in the Agents Window under Settings > Worktrees. Check it for work you want to keep first. |
Cache, Code Cache, GPUCache, CachedData, CachedExtensionVSIXs, logs | Cursor does not document these. AmpleCapacity treats them as caches and logs. | Cursor makes them again as you use it. Old logs are gone. |
state.vscdb, User/workspaceStorage, ~/.cursor/projects | Your chats, agent history, checkpoints and transcripts. | Gone for good. Don't remove them by hand; use the commands above. |
Paths without ~ are inside ~/Library/Application Support/Cursor.
In early 2026 a bug made the snapshots folder fill quickly, and removing it did not help because the files came straight back. Cursor staff said in April 2026 that a disk usage limit for those files has been added.
Your codebase index is in your project, not in Cursor's folders
Cursor's documentation says its search index is built and queried on your machine. A Cursor team member said in July 2026 that the index files live in each project's .git folder, under .git/cursor/, and are "about half the size of the source it indexes." A large project carries its own index there.
What AmpleCapacity does with Cursor. Cursor caches and logs are labelled Safe: it moves them to its vault while Cursor is closed, and you can put them back for seven days. It leaves the old copy of the chat database alone, because Cursor writes a new one every time it quits. Your chat history is Protected: AmpleCapacity never moves or changes it. It does not run Cursor's commands for you.
See what is on your Mac
The scan is free and changes nothing. It shows every item it finds, what made it, and what happens if it goes. You pay once, only if you want AmpleCapacity to clear it.
Sources
- Cursor docs: Troubleshooting guide, "How do I free up disk space used by Cursor?" (largest contributor, Delete Old Chats, GC Agent KV Blobs, worktrees).
- Cursor forum, staff reply: Completely reinstall Cursor and remove all settings (the two folders).
- Cursor forum, staff replies: Cursor is using 231 GB on my Mac (what state.vscdb holds, the backup copy, transcripts in ~/.cursor/projects; user report of 188.3 GB).
- Cursor forum, staff replies: state.vscdb grew from 3.1 GB to 97 GB (no automatic compaction, sub-agents, don't delete the database, GC Agent KV Blobs).
- Cursor forum, staff reply: Large Library/Application Support usage (history grows with no age limit).
- Cursor forum, staff replies: Cursor storage has grown to 125 GB (tracked issue, free space needed, Delete Old Chats, the backup copy).
- Cursor forum, staff reply: Deleting global state.vscdb causes infinite loading chat (chat data in workspaceStorage).
- Cursor forum, staff replies: .pack eating up disk space and Cursor Helper writing 30 GB on launch (snapshots, the limit added in April 2026).
- Cursor docs: Search, and Cursor forum, staff reply: Cursor removing the codebase indexing settings (index location and size).