Cursor crash sometime

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

The window terminated unexpectedly (reason: ‘crashed’, code: ‘5’)

Steps to Reproduce

The window terminated unexpectedly (reason: ‘crashed’, code: ‘5’)

Operating System

MacOS

Version Information

Version: 2.5.20
VSCode Version: 1.105.1
Commit: 511523af765daeb1fa69500ab0df5b6524424610
Date: 2026-02-19T20:41:31.942Z
Build Type: Stable
Release Track: Default
Electron: 39.4.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.3.0

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

1 Like

Hey, crash code 5 on macOS usually means the renderer process crashed because it ran out of memory. A common trigger is long agent chats where a lot of edited files build up.

Here are a few things to try:

  1. Start a new chat more often. Don’t keep one long-running chat. This has helped a few users. If you have a chat with a big list of changed files, close it and start fresh.

  2. Check if your project is in an iCloud-synced folder (Desktop, Documents). If it is, move it to a local path like ~/dev.

  3. Test without extensions:

    cursor --disable-extensions
    

    If the crashes stop, turn extensions back on one by one to find the one causing it.

  4. Before the next crash, open Cmd+Shift+PDeveloper: Open Process Explorer and check if the renderer process memory goes over 3 to 4 GB. A screenshot of this would be helpful.

  5. Disable GPU acceleration to rule that out:

    cursor --disable-gpu
    

If none of this helps, I’ll need:

  • Logs from Help > Open Logs Folder (the main.log file around the time of the crash)
  • A screenshot of Help > Toggle Developer Tools > Console right after the crash
  • Your list of installed extensions
  • Whether you’re using a VPN or proxy

The team is aware of this macOS issue. Let me know how it goes.