OOM Cursor - The window terminated unexpectedly (reason: 'oom', code: '-536870904') We are sorry for the inconvenience. You can reopen the window to continue where you left off

Describe the Bug

How to deal with it ?

Steps to Reproduce

ts file has 20 k recors and gettign OOM all time…

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.1.17 (user setup)
VSCode Version: 1.105.1
Commit: 6757269838ae9ac4caaa2be13f396fdfbcf1f9a0
Date: 2025-11-21T08:55:17.983Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.19041

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report. The OOM error code -536870904 has already been reported by other users. Let’s try to figure it out:

First, test Cursor without extensions. Run this in your terminal:
cursor --disable-extensions

If it works like this, then one of your extensions is causing the issue.

If the problem remains, please share:

  1. Does this happen only in this project, or also in a new empty folder?
  2. Which extensions do you have installed? (check in Settings)
  3. Do you have any MCP servers configured?
  4. Can you open Help > About Cursor and share your full version info?

Related workarounds from other users:

  • Clear workspace storage (project-specific):
    Close Cursor → Go to %APPDATA%\Cursor\User\workspaceStorage → Delete the folder that matches your project → Open Cursor again

Let me know what you find in safe mode!

It didn’t work… I switched to VS Code with Copilot, and it was the best decision I could have made.

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

termiantion of window citing reason oom code 536870904

Steps to Reproduce

use cursor

Expected Behavior

functiion of the program

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.1.25 (user setup)
VSCode Version: 1.105.1
Commit: 7584ea888f7eb7bf76c9873a8f71b28f034a9820
Date: 2025-11-23T04:45:23.529Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.22631

Does this stop you from using Cursor

Yes - Cursor is unusable

1 Like

I have the same issue…

Without very much to go on, i.e. “Vibe trouble shooting” ;-P, I see that my “cloud agent” is now synched into the Cursor IDE, and I think this may be related?

Looked in the logs and here is the “main.log”:

PS C:\Users\qvick\AppData\Roaming\Cursor\logs\20251215T090747> more .\main.log
2025-12-15 09:07:47.239 [warning] [CursorProclistService] Native module unavailable; disabling proclist metrics: Cannot find module ‘./build/Release/cursor_proclist.node’
Require stack:

  • C:\Program Files\cursor\resources\app\node_modules\cursor-proclist\index.js
  • C:\Program Files\cursor\resources\app\out\main.js
    2025-12-15 09:07:47.274 [info] updateURL https://api2.cursor.sh/updates/api/update/win32-x64/cursor/2.2.20/eabb478ee4c3fa80dba22cfc2e6a9ace98a982f573d02dcc2e30294dc2984bc7/stable
    2025-12-15 09:07:47.275 [info] update#setState idle
    2025-12-15 09:07:56.859 [warning] [BrowserViewMainService] Cannot execute JavaScript: browser view not created for window 1
    2025-12-15 09:07:57.422 [warning] [BrowserViewMainService] Cannot flush storage data: browser view not created for window 1
    2025-12-15 09:07:57.431 [warning] [BrowserViewMainService] Cannot set visibility: browser view not created for window 1
    2025-12-15 09:07:57.582 [info] Extension host with pid 16280 exited with code: 0, signal: unknown.
    2025-12-15 09:08:10.406 [warning] [BrowserViewMainService] Cannot execute JavaScript: browser view not created for window 1
    2025-12-15 09:08:17.289 [info] update#setState checking for updates
    2025-12-15 09:08:21.764 [info] update#setState idle
    2025-12-15 09:08:49.289 [warning] [BrowserViewMainService] Cannot flush storage data: browser view not created for window 1
    2025-12-15 09:08:49.326 [info] Extension host with pid 22932 exited with code: 0, signal: unknown.
    2025-12-15 09:08:49.345 [warning] [BrowserViewMainService] Cannot set visibility: browser view not created for window 1
    2025-12-15 09:09:01.394 [warning] [BrowserViewMainService] Cannot execute JavaScript: browser view not created for window 1
    2025-12-15 09:09:14.334 [error] CodeWindow: renderer process gone (reason: oom, code: -536870904)
    2025-12-15 09:09:14.425 [info] Extension host with pid 14180 exited with code: 0, signal: unknown.
    2025-12-15 09:10:05.200 [warning] [storage main] detected slow close() operation: Time: 4019ms, DB size: 3191181312b, Large Keys: aiCodeTrackingLines:2858489, workbench.experiments.statsigBootstrap:120178, iconThemeData:96841, saoudrizwan.claude-dev:91449, src.vs.platform.reactivestorage.browser.reactiveStorageServiceImpl.persistentStorage.applicationUser:84933

SOLUTION for me: Removed AppData/Cursor directory. Note - you loose a lot doing this…

from past few weeks our tasks are like keep fighting with day 2 day new cursor bugs.