Cursor IDE crash during agent work

Hey, thanks for the detailed report. It’s especially helpful that you tracked it down to state.vscdb as the cause.

There are actually two issues here:

  1. state.vscdb grows to a huge size

11,4 GB plus a 10,7 GB backup is definitely not normal. Other users are seeing the same thing: Cursor state.vscdb growing at 1 GB in a day. As a temporary workaround:

  • Fully quit Cursor
  • Delete state.vscdb.backup (it’s just a backup, safe to remove)
  • Open state.vscdb in DB Browser for SQLite: https://sqlitebrowser.org/ and run VACUUM
  • If VACUUM doesn’t reduce the size, can you check which tables are taking up the most space? That’ll help us understand what’s growing
  1. SSH session crashes while the agent is running

The third crash with 5,6 GB free disk space confirms your suspicion, disk space isn’t the only cause. Other users are also reporting similar SSH plus agent crashes: Cursor Crashing whenever connected to SSH. The team is aware of SSH connection stability issues, but there’s no ETA yet.

A couple questions:

  • What’s the project size on the remote machine?
  • Roughly how long did the agent session run before each crash?

Let me know if the crashes still happen after cleaning up state.vscdb. That’ll help us figure out if these two issues are related.

1 Like