Cursor crash with oom error

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I have Windows 10 with 96GB of RAM and I dont do anything else on the PC except using Cursor and running my app that I’m coding.

I dont know if it’s because I have so many data file in my project but at least once a day during an agent work it crashes with the oom dialog. It started doing that maybe 3 weeks ago??

Can Cursor be launched with higher V8 memory? Can Cursor be re-written in C++ to not have memory limits? Or is there a bug somewhere?

Do you guys need more debugging info from me or you are already aware of the issue?

Thanks!

Steps to Reproduce

Use it one request at a time for a single project.

Expected Behavior

Not crash

Screenshots / Screen Recordings

Operating System

Windows 10/11

Version Information

Version: 3.24.12 (user setup)
VS Code Extension API: 1.128.0
Commit: 37b865941ccb31e2fc90c685157534efca87f960
Date: 2026-10-09T20:56:41.904Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 42.10.0
Chromium: 148.0.7778.280
Node.js: 24.18.1
V8: 14.8.178.38-electron.0
xterm.js: 6.1.0-beta.291
OS: Windows_NT x64 10.0.19045

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey @Francois1,

That dialog (reason ‘oom’, code -536870904) means the Cursor window’s own memory hit its built-in limit of roughly 4 GB per window, so it can happen no matter how much RAM the PC has. This is a known issue we’re already tracking, and I’ve added your report to it. It shows up most during very long agent chats: the window keeps a growing history of the agent’s file edits in memory, and reopens the same chat (and its history) after a crash.

In the meantime, these should make it much less frequent:

  1. Start a new chat regularly (for example once a day, or after a big task) instead of continuing one long chat. To bring context over, type @ in the new chat, pick Past Chats, and select the old one.
  2. Go to Cursor Settings > General > Startup and turn off Continue Interrupted Agents, so a crashed long chat doesn’t reload straight away.
  3. If you see the high memory warning, run Developer: Reload Window from the Command Palette before it crashes.
  4. Update to the latest version (Help > Check for Updates). Newer versions no longer keep full copies of very large files in the chat’s edit history.

On your data files: if the agent reads or edits them, adding those folders to a .cursorignore file keeps it away from them, which is worth doing. files.watcherExclude is fine to set too, but it isn’t what causes this particular crash.