Cursor unexpected crash

My computer is equipped with Apple’s latest top-specification M5 Max chip and 128GB of RAM. However, while using Cursor for development outside the market, it has been exiting unexpectedly—with memory usage remaining below 5% and the CPU having more than enough capacity when the exits occur. This has happened five times today. How can I fix this issue?

Hey, this is a known issue - there were several renderer crash fixes shipped recently.

A few things to check:

  1. Version - what Cursor version are you on? You can find it via Cursor > About Cursor or Help > About. If you’re not on the latest, update via Help > Check for Updates - a fix for this exact type of crash was released recently.

  2. Error message - when Cursor exits, do you see a dialog saying something like “The window terminated unexpectedly (reason: ‘crashed’, code: ‘5’)”? Or does it just silently close?

  3. If the crashes persist after updating, try these in order:

    • Clear old/long chat histories (large chats are a common trigger)
    • Make sure your project isn’t in an iCloud-synced folder (Desktop, Documents) - move it to something like ~/dev
    • Run cursor --disable-extensions from terminal to rule out extensions
    • Clear cached data:
      rm -rf ~/Library/Application\ Support/Cursor/IndexedDB
      rm -rf ~/Library/Application\ Support/Cursor/Local\ Storage
      rm -rf ~/Library/Application\ Support/Cursor/Session\ Storage
      rm -rf ~/Library/Application\ Support/Cursor/GPUCache
      

If none of that helps, share the logs from Help > Open Logs Folder (the main.log file around the time of a crash) and a screenshot from Cmd+Shift+P > Developer: Open Process Explorer.

Similar reports here for reference: Cursor keeps crashing - 2.6.11

Let me know how it goes.