Cursor crashes re-opening project

Hello!

I was working on a project in Cursor and needed to share an example of a JSON data source. I pasted in what was likely far too much content, which crashed Cursor. Now, it crashes every time I open the same project, even if I don’t tell it to reload the editors.

How can I get back into my project?

Thanks!

Hey, try deleting the file directly on the disk. If that doesn’t help, try clearing the cache by following this guide:

Thanks - which file would I be deleting? The content was pasted into the chat directly, not a file on disk.

A little more info if it’s helpful:

Version: 0.45.9
VSCode Version: 1.96.2
Commit: cce0110ca40ceb61e76ecea08d24210123895320
Date: 2025-02-02T06:44:49.761Z (2 days ago)
Electron: 32.2.6
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.3.0

I was able to open the SQLite state.vscdb and see the aiService.prompts entry, which doesn’t contain the pasted text that caused the crash. It seems to have last been updated right before I pasted it.

I re-launched Cursor without extensions but it still crashes when loading that project.

I don’t really want to lose the chat history if possible — I was well into building something and don’t want to lose the history and context.

Sorry, I thought it was related to the file. It seems the problem is more serious if it’s related to the chat. I don’t know a way to solve this without losing the history yet. Give me some time to figure it out.

1 Like

Unfortunately, I couldn’t reproduce your issue. I inserted a large JSON code, but it didn’t crash. Try clearing the cache, it might help. If that doesn’t work, try renaming your project. This should work, but it will erase all your history. However, if you need your chat history, you can install an extension that saves everything in the project folder.