Hey, this looks like a known issue with a memory leak in the agent chat renderer process on Windows. After long sessions, the process grows to around a ~4 GB limit and then crashes.
To confirm, can you check a couple of things:
Open Ctrl+Shift+P > Developer: Open Process Explorer and watch the renderer process memory while you use the agent. Send a screenshot if you see one process growing quickly.
Check the crash logs in %APPDATA%\Cursor\logs. There should be files with details about the crash.
Workarounds that have helped other users so far:
Start a new chat from time to time, don’t keep one long session
If you see “Reopen” after a crash, pick the option that does not restore editors
Try Settings Ctrl+, > search for “HTTP/2” > enable “Disable HTTP/2”. This can help with agent output lag
The team is aware of this Windows issue. Your report helps us prioritize it. Let me know what you see in Process Explorer.
I’m still seeing so many instances of latency where the cursor IDE just hangs and the main thing is I use a lot of Markdown files.
As soon as I start clicking on Markdown files that the agent is kind of editing or working on, the IDE just craps itself and it just gets into these hanging situations where I have to just click on “Keep Waiting” and “Keep Waiting”.
It’s totally unacceptable (makes Cursor un-useable) from whatever recent changes occurred so you guys still need to figure out what is going on with that.
This is specific to while the user is viewing Markdown files and the agent is editing Markdown files and code simulataneously.
Thanks for the info. One of the window processes (window[1] with the Markdown file) is using 1 748 MB, and total memory grows to about 9 GB. That confirms the issue.
What you’re describing about freezes when viewing Markdown files while the agent is running is a separate detail from the overall OOM issue. The team is aware of both, memory growth on Windows, and problems with Markdown rendering.
For now, a few workarounds for your specific case:
Try not to open or view Markdown files while the agent is actively editing them. Switch to another tab and come back when the agent is done.
Try disabling Markdown preview.
If you use any Markdown extensions (Markdown All in One, Markdown Preview Enhanced, etc.), try disabling them and see if anything changes.
A couple questions:
How much RAM does your machine have?
What extensions are installed? You can check via Ctrl+Shift+P then Developer: Open Extension Monitor. It shows which extensions use how much memory.