Cursor keep on crashing

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Curson keep on crashing with showing
The window terminated unexpectedly(reason:‘oom’:code:‘-536870904’)

Steps to Reproduce

Random shutdowns

Operating System

Windows 10/11

Version Information

Version 2.5.25

For AI issues: which model did you use?

Model Composer 1.5

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

I’ve been getting the same error for two days now. It crashes 2-4 times an hour now. Becoming unusable.

@Rich_Taylor temporarily try reverting to a previous version like 2.4 or 2.3. Cursor · Download

If it auto updates you to latest version, then be sure to have this editor setting set to manual:

Hey, this is a known issue on Windows. The renderer process hits the ~4 GB memory limit and crashes with that OOM error code.

A few things to try:

  1. Check for an OTEL memory leak: Open the Command Palette Ctrl+Shift+P > Developer: Toggle Developer Tools > Console tab. Look for [otel.error] or OTLPExporterError messages. If you see them, that’s a known memory leak.

  2. Rotate chats: If you’re running long agent sessions, start a new chat before they get too large. Long chat history is one of the main causes.

  3. Monitor memory: Ctrl+Shift+P > Developer: Open Process Explorer. Watch the renderer process. If it climbs toward 3.5 to 4 GB, start a fresh chat.

  4. Check extensions: Run cursor --disable-extensions from the command line and see if the crashes still happen.

  5. Clear workspace storage (nuclear option): Close Cursor, then delete the most recently modified folder in C:\Users\<your-username>\AppData\Roaming\Cursor\User\workspaceStorage. This resets your chat history and layout.

Also, how much RAM does your machine have? And does this happen more often during longer agent sessions?

The team is aware of this issue.

Related threads:

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