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.

Just got the same failure.

When the app reopens, after I type about 3 characters in the agent window it fails. I tried clearing the cache and still fails.

Just got the same failure.

When the app reopens, after I type about 3 characters in the agent window it fails. I tried clearing the cache and still fails.

Version: 2.2.43 (system setup)
VSCode Version: 1.105.1
Commit: 32cfbe848b35d9eb320980195985450f244b3030
Date: 2025-12-19T06:06:44.644Z
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.26200

main log file reported
Version: 2.2.43 (system setup)
VSCode Version: 1.105.1
Commit: 32cfbe848b35d9eb320980195985450f244b3030
Date: 2025-12-19T06:06:44.644Z
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.2620

2025-12-24 15:43:44.127 [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-24 15:43:44.749 [info] updateURL https://api2.cursor.sh/updates/api/update/win32-x64/cursor/2.2.43/a33b5095d6ed2a42954cda4b8e01040b5719bd63259793fed91cddf8592f1c99/stable
    2025-12-24 15:43:44.750 [info] update#setState idle
    2025-12-24 15:43:51.443 [warning] [BrowserViewMainService] Cannot flush storage data: browser view not created for window 1
    2025-12-24 15:43:51.448 [warning] [BrowserViewMainService] Cannot set visibility: browser view not created for window 1
    2025-12-24 15:44:04.145 [info] Extension host with pid 12840 exited with code: 0, signal: unknown.
    2025-12-24 15:44:14.752 [info] update#setState checking for updates
    2025-12-24 15:44:14.865 [info] update#setState idle
    2025-12-24 15:44:17.451 [warning] [BrowserViewMainService] Cannot execute JavaScript: browser view not created for window 1
    2025-12-24 15:44:42.732 [error] CodeWindow: renderer process gone (reason: oom, code: -536870904)
    2025-12-24 15:44:42.918 [info] Extension host with pid 8284 exited with code: 0, signal: unknown.
    2025-12-24 15:45:01.777 [warning] [BrowserViewMainService] Cannot flush storage data: browser view not created for window 2
    2025-12-24 15:45:01.809 [warning] [BrowserViewMainService] Cannot set visibility: browser view not created for window 2
    2025-12-24 15:45:02.232 [info] Extension host with pid 24632 exited with code: 0, signal: unknown.
    2025-12-24 15:45:04.950 [warning] [storage main] detected slow close() operation: Time: 2974ms, DB size: 340393984b, Large Keys: workbench.experiments.statsigBootstrap:129302, iconThemeData:96841, src.vs.platform.reactivestorage.browser.reactiveStorageServiceImpl.persistentStorage.applicationUser:79712, cursorai/serverConfig:24663, colorThemeData:7190

getting this as well, never before and i use cursor daily for months.

Continuing the discussion from 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:

Just got the same failure.

When the app reopens, after I type about 3 characters in the agent window it fails. I tried clearing the cache and still fails.

Version: 2.2.43 (system setup)
VSCode Version: 1.105.1
Commit: 32cfbe848b35d9eb320980195985450f244b3030
Date: 2025-12-19T06:06:44.644Z
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.26200

Removed and re-installed Cursor and still fails immediately.

JavaScript problem is the root cause (see below)

2025-12-24 15:43:44.127 [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-24 15:43:44.749 [info] updateURL https://api2.cursor.sh/updates/api/update/win32-x64/cursor/2.2.43/a33b5095d6ed2a42954cda4b8e01040b5719bd63259793fed91cddf8592f1c99/stable
    2025-12-24 15:43:44.750 [info] update#setState idle
    2025-12-24 15:43:51.443 [warning] [BrowserViewMainService] Cannot flush storage data: browser view not created for window 1
    2025-12-24 15:43:51.448 [warning] [BrowserViewMainService] Cannot set visibility: browser view not created for window 1

    2025-12-24 15:44:04.145 [info] Extension host with pid 12840 exited with code: 0, signal: unknown.
    2025-12-24 15:44:14.752 [info] update#setState checking for updates
    2025-12-24 15:44:14.865 [info] update#setState idle
    2025-12-24 15:44:17.451 [warning] [BrowserViewMainService] Cannot execute JavaScript: browser view not created for window 1
    2025-12-24 15:44:42.732 [error] CodeWindow: renderer process gone (reason: oom, code: -536870904)
    2025-12-24 15:44:42.918 [info] Extension host with pid 8284 exited with code: 0, signal: unknown.
    2025-12-24 15:45:01.777 [warning] [BrowserViewMainService] Cannot flush storage data: browser view not created for window 2
    2025-12-24 15:45:01.809 [warning] [BrowserViewMainService] Cannot set visibility: browser view not created for window 2
    2025-12-24 15:45:02.232 [info] Extension host with pid 24632 exited with code: 0, signal: unknown.
    2025-12-24 15:45:04.950 [warning] [storage main] detected slow close() operation: Time: 2974ms, DB size: 340393984b, Large Keys: workbench.experiments.statsigBootstrap:129302, iconThemeData:96841, src.vs.platform.reactivestorage.browser.reactiveStorageServiceImpl.persistentStorage.applicationUser:79712, cursorai/serverConfig:24663, colorThemeData:7190

sorry, please what and what did you really loose after removing the AppData/Cursor???

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