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

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

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.

Operating System

Windows 10/11

Version Information

Version: 2.5.17 (user setup)
VSCode Version: 1.105.1
Commit: 7b98dcb824ea96c9c62362a5e80dbf0d1aae4770
Date: 2026-02-17T05:58:33.110Z
Build Type: Stable
Release Track: Default
Electron: 39.3.0
Chromium: 142.0.7444.265
Node.js: 22.21.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26200

For AI issues: which model did you use?

Sonnet 4.6 and Opus 4.6

Does this stop you from using Cursor

No - Cursor works, but with this issue

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.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.