IDE hangs everytime with one repo

I’ve been facing this issue recently, with just 1 repo. I have other repos, but those work fine. So not sure what is happening and how to debug this.

Whenever I open this repository, it works fine for a while. This “while” could sometimes be seconds to a few minutes, and then it crashes.

This time I managed to open the developer tools before the UI hangs, and here is the console screenshot.

I’ve tried reinstalling but still the same. And surprisingly this occurs with just 1 repo I have, others work fine.

Some forums suggested that this could be due to a “long chat history”. I think maybe this is the cause, but I’m not sure what is described as “long”. I think I’ve had chats that could easily be multiple ~ 500 line files in context.

Here is the version:
Version: 0.47.8
VSCode Version: 1.96.2
Commit: 82ef0f61c01d079d1b7e5ab04d88499d5af500e0
Date: 2025-03-18T06:55:51.040Z
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

Hey, try renaming your project. If it helps, then the issue might be with the long history. If not, the cause is something else. Also, let me know if you’ve reinstalled Cursor completely.

thanks. yes, renaming the project helps. I did reinstall Cursor multiple times but that did not help.

why does renaming the repo help? Is it mapped to chat history and saved locally somewhere? Can’t the local files be deleted to have the same effect? Honestly it’s not good that I have my local directory name different from the GitHub repo.

Yes, the history is stored locally. Renaming the project loses the connection with the chat history. You can also just move your project, and the effect will be the same. You can also completely delete all your history by deleting the folder at this path:

Windows - Delete %APPDATA%\Cursor
macOS - Delete $HOME/Library/Application Support/Cursor
Linux - Delete $HOME/.config/Cursor

But keep in mind that you’ll have to setup Cursor again.

This is super strange. I had the same problem - there was this 1 out of many repos that got stuck when opened by Cursor (worked fine with VSCdoe). While renaming the folder did work, this is nonetheless very strange behaviour and I wonder if there are any better solution…

If it’s related to chat history, does it mean sooner or later all repos will get stuck…