Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Environment
- Cursor version: 2.5.20 (stable, commit 511523af)
- OS: Windows 11 Pro Build 26200
- CPU: AMD Ryzen Threadripper 3970X (32-core)
- GPU: NVIDIA GeForce RTX 5080
- RAM: 128 GB (76+ GB free at time of crash)
- Page file: 32 GB (increased from 8 GB, did not help)
Problem
Cursor renderer process crashes with OOM every ~3 minutes consistently.
Error: The window terminated unexpectedly (reason: 'oom', code: '-536870904')
The same workflow on Ubuntu (same machine, dual-boot) does NOT produce this error.
Reproduction
- Open Cursor on any project (even a small 36-file Android/Gradle project)
- Open Agent chat and send a few messages
- Wait ~3 minutes
- Crash:
CodeWindow: renderer process gone (reason: oom, code: -536870904)
Happens 100% of the time. Crash loop — reopening leads to another crash in ~3 min.
Diagnostic data
Renderer memory growth (observed live via Get-Process)
The renderer process responsible for the Agent chat window grows rapidly:
- T+0 min: ~600 MB
- T+2 min: ~3000 MB (3 GB)
- T+4 min: ~5100 MB (5.1 GB)
- T+5 min: CRASH (OOM)
Other renderer processes stay stable at 200-600 MB.
main.log (consistent pattern across sessions)
2026-02-21 18:59:40.988 [error] CodeWindow: renderer process gone (reason: oom, code: -536870904)
2026-02-21 19:06:02.421 [error] CodeWindow: renderer process gone (reason: oom, code: -536870904)
Renderer command line (js-flags NOT passed to renderer)
--max-old-space-size=65536 set in argv.json does NOT appear in renderer process
command line. The flag only affects the main process, not the renderer.
Process snapshot at time of investigation
ProcessId WorkingSet_MB Type
71536 5146 renderer ← this one crashes
62916 625 renderer
60664 445 gpu-process
71176 260 main
What I already tried (none helped)
- ✗
argv.json:"js-flags": "--max-old-space-size=65536"— does not affect renderer - ✗
argv.json:"disable-hardware-acceleration": true— crash still happens - ✗
--disable-extensions— crash still happens (Agent is built-in) - ✗ Cleared CachedData, GPUCache, Cache directories
- ✗
settings.json:"window.restoreWindows": "none" - ✗ Created
.cursorignoreexcluding build dirs (project only has 36 files) - ✗ Increased page file from 8 GB to 32 GB
- ✗ Extended
files.watcherExclude
Key observations
- Crash is Windows-specific — same machine on Ubuntu works fine
- Crash happens in renderer process, not main or extension host
js-flagsfromargv.jsondo NOT propagate to renderer processes- Indexing completes in 3 seconds (36 files) — not the cause
- 128 GB RAM with 76+ GB free — not a system memory issue
- The leaking renderer is always the one running Agent chat
- Multiple windows (3-4) accelerate the issue but single window also crashes
Expected behavior
Renderer process should not grow unbounded. Either implement memory limits for
renderer processes or fix the memory leak in the Agent chat rendering pipeline.
Steps to Reproduce
- Fresh install Cursor 2.5.20 on Windows 11 (128 GB RAM, RTX 5080)
- Open any project (even small — 36 files Android/Gradle project)
- Open Agent chat (Ctrl+L or Cmd+L)
- Send 3-5 messages in Agent mode
- Wait ~3 minutes
- Renderer process grows from 600 MB → 3 GB → 5 GB → crash
- Dialog appears: “The window terminated unexpectedly (reason: ‘oom’, code: ‘-536870904’)”
- Click “Reopen” — crash repeats in ~3 minutes again (crash loop)
Note: Does NOT reproduce on Ubuntu (same hardware, dual-boot). Windows-only.
Operating System
Windows 10/11
Version Information
Version: 2.5.20 (user setup)
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: Windows_NT x64 10.0.26200
Does this stop you from using Cursor
Yes - Cursor is unusable








