When the Agent is running the analysis and coding, the app crashes all the time. This happens when using Opus 4.6 or Sonnet 4.6.
Steps to Reproduce
Just run to ask the agent to solve an issue for me during the development. And when it is running, and because it is quite long process, the app always crashes.
Hey, this is a known issue on Windows. The renderer process can hit Electron’s memory limit of about 4 GB during long agent sessions and then crash with an OOM error.
A few things to try:
Check for an OTEL memory leak: Open Ctrl+Shift+P > Developer: Toggle Developer Tools > Console. Look for lines like [otel.error] or OTLPExporterError. If you see them, that’s a known memory leak that can make crashes more likely.
Rotate chats: Don’t let a single chat session get too large. Start a new chat from time to time, especially for heavy agent workflows with Opus or Sonnet.
Check extensions: Try running cursor --disable-extensions from the command line to rule out extension memory usage.