When the agent is running the analysis and coding the app crashes everytime

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:

  1. 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.

  2. 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.

  3. Check extensions: Try running cursor --disable-extensions from the command line to rule out extension memory usage.

Related threads with the same issue:

The team is aware of the issue. Let me know what you see in the Developer Console and whether rotating chats helps.