Cursor state.vscdb suddenly grew to 77.5 GB and globalStorage reached 100+ GB on Windows

Hi Cursor team,

I noticed that Cursor suddenly consumed more than 100 GB of disk space inside the globalStorage directory on my Windows machine.

The affected directory is:

C:\Users\LENOVO\AppData\Roaming\Cursor\User\globalStorage

Current file sizes:

  • state.vscdb: ~77.5 GB
  • state.vscdb.backup: ~22.9 GB
  • state.vscdb-wal: ~89 MB
  • Total Cursor globalStorage: ~100.5 GB

I did not intentionally store this amount of data in Cursor, and I only noticed the issue after checking my disk usage.

Expected behavior

state.vscdb and Cursor’s globalStorage should remain at a reasonable size and should not continuously grow to tens of gigabytes during normal usage.

Actual behavior

The database appears to have grown unexpectedly until Cursor was consuming more than 100 GB of local storage.

Environment

  • OS: Windows 11
  • Cursor: [insert Cursor version here]
  • Storage location: %APPDATA%\Cursor\User\globalStorage

I have attached a screenshot showing the disk usage.

Could you please confirm:

  1. What could cause state.vscdb to grow to this size?
  2. Is this related to chat history, AI agent/composer data, checkpoints, extensions, or another Cursor feature?
  3. Is it safe to delete or recreate state.vscdb and state.vscdb.backup without losing important projects/settings?
  4. Is there currently any automatic cleanup or size limit for this database?
  5. Is there any diagnostic information I can provide to help identify what is filling the database?

This seems potentially serious because the database can consume a very large amount of disk space without an obvious warning.

Thanks.

Hi there!

We detected that this may be a bug report, so we’ve moved your post to the Bug Reports category.

To help us investigate and fix this faster, could you edit your original post to include the details from the template below?

Bug Report Template - Click to expand

Where does the bug appear (feature/product)?

  • Editor, Tab & Chat (autocomplete, Composer, in-editor agent)
  • Terminal & commands
  • Models, pricing & API keys (availability, Auto/Max, BYOK/Bedrock)
  • MCP & tools
  • Cloud Agents & Automations (cursor.com/agents, scheduled/event)
  • BugBot & Code Review
  • Cursor CLI
  • Cursor Mobile
  • Remote (SSH / Dev Containers / WSL)
  • Account, billing & login
  • Something else…

Describe the Bug
A clear and concise description of what the bug is.


Steps to Reproduce
How can you reproduce this bug? We have a much better chance at fixing issues if we can reproduce them!


Expected Behavior
What is meant to happen here that isn’t working correctly?


Screenshots / Screen Recordings
If applicable, attach images or videos (.jpg, .png, .gif, .mp4, .mov)


Operating System

  • Windows 10/11
  • MacOS
  • Linux

Version Information

  • For Cursor IDE: Menu → About Cursor → Copy
  • For Cursor CLI: Run agent about in your terminal
IDE:
Version: 2.xx.x
VSCode Version: 1.105.1
Commit: ......

CLI:
CLI Version 2026.01.17-d239e66

For AI issues: which model did you use?
Model name (e.g., Sonnet 4, Tab…)


For AI issues: add Request ID with privacy disabled
Request ID: f9a7046a-279b-47e5-ab48-6e8dc12daba1
For Background Agent issues, also post the ID: bc-…


Additional Information
Add any other context about the problem here.


Does this stop you from using Cursor?

  • Yes - Cursor is unusable
  • Sometimes - I can sometimes use Cursor
  • No - Cursor works, but with this issue

The more details you provide, the easier it is for us to reproduce and fix the issue. Thanks!