Pretty much anything i do in cursor, I get this error “The windows terminated unexpectedly (reason: ‘oom’,code:‘-536870904’) . We are sorry for the inconvenience. you can reopen the window to continue where you left off.”
Steps to Reproduce
As soon as i type a command on the project i am working on, i get cursor to shutdown and gives me this same error.
Expected Behavior
Cursor is supposed to work without crashing everytime.
Hey, thanks for the report, a few things stood out:
There are lots of third party extensions in the log: github.copilot-chat, ms-python, ms-toolsai.datawrangler, and a bunch of Azure and Java ones. github.copilot-chat is known for memory leaks in Electron apps and it can also conflict with Cursor Agent. Try launching Cursor with extensions disabled and see if the crash still happens in the same scenario:
cursor --disable-extensions
If the crash goes away, turn extensions back on one by one to find the one causing it.
HOOKS Failed to parse project hooks configuration means the project has a broken hooks config. Check .cursor/hooks.json or hooks.yaml in the repo root and also in ~/.cursor/ and either delete or fix it.
Process Explorer: in your screenshot the renderer window is steady at about 702 MB. To catch a leak, open Process Explorer ahead of time, switch to the History (Mem) tab, and use Cursor normally. Right before the crash you should see which process is growing, usually the one with the Agent chat open.
In the crash dialog, tick “Don’t restore editors” before you click Reopen. Session restore often triggers the same crash again via the same extensions.
Let me know what History (Mem) shows right before the crash, and whether --disable-extensions helps.