Whenever my chat gets just 2-3 messages (with terminal being used) or 4-5 messages (without terminal being used) long, the entire IDE starts freezing and lagging. It freezes every 5 secs. As soon as I delete the chat, it starts working normally. What weird is that everything except the IDE works perfectly fine. I can freely use and navigate other application no problem.
It has been very frustrating, I keep losing focus and at times even switch IDEs. Is this a Windows problem? I have seen some posts regarding this from months ago (which is where I found out I had to delete chat to fix it), and it looks like the issue is still not fixed.
Steps to Reproduce
Be on Windows
Send 2-3 messages in agent mode
Expected Behavior
Not freeze or lag.
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Hey, this issue is typically related to having a large chat history in your project. To resolve it, try manually deleting most of the history, especially the oldest chats. You can also try renaming or moving the project to quickly clear the history.
I, at any point, only keep one chat. As soon as I need to start a new chat, I’m forced to delete the previous chat anyway because it starts freezing otherwise.
It freezes even without my chat being too long. For example, If I were to start a new project now and ask cursor to do something in two files where it writes like 100 lines of code total and executes a terminal command, my IDE starts freezing. If it doesn’t execute a terminal command, I can do maybe 2 more similar requests before it starts freezing.
hey try a full complete uninstallation of cursor, not just manual, go to the AppData and Local Programs, or if you have an uninstaller to this, there sometimes is some residue data.
use revouninstaller portable to completely delete cursor and install it from ground. the app has a free trial kinda like winrar. Don’t forget to make a system restore point before doing the uninstalation and review what registry entries it will try to delete if any. reboot pc, install cursor, test if issue persists.