Huge Memory Leak

Describe the Bug

Cursor just goes on eating all memory untill it crashes the machine. I’m not using the agent al all, just from opening and using it as an editor and leaving it open overnight It goes up to 50GB memory, in just as few as 1-2 hours it goes up to 11GB just sitting on the background or browsing a file files during this time.

Steps to Reproduce

  1. Open cursor on a project
  2. Leave it open without doing anything
  3. Come back to computer with 11GB of memory usage

Expected Behavior

I know it uses a lot of memory, but not just that much :wink: Last version was not happening this.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.2.4 (Universal)
VSCode Version: 1.99.3
Commit: a8e95743c5268be73767c46944a71f4465d05c90
Date: 2025-07-10T16:55:16.443Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0

Does this stop you from using Cursor

Yes - Cursor is unusable

hi @tadeumaia and thank you for the detailed bug report.

As this is not a common case, could you post details from Process Explorer to see what within Cursor consumes so much memory?

Help > Open Process Explorer

You can run this a few times to see when a lot of memory is consumed.

I have the same problem. When the agent uses the Todo list tool, it only asks a few questions, and then memory leak (crash app), I can’t use the Cursor, so I must close and reopen it.

Version: 1.2.4 (user setup)
VSCode Version: 1.99.3
Commit: a8e95743c5268be73767c46944a71f4465d05c90
Date: 2025-07-10T17:09:01.383Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.22000

Thanks, that helpmed me debug the problem. It was the background agents! There is definitely some leak there. I had some background agents thread (7) threads from starting that at cursor web. After deleting them the memory immediately dropped from 11gb to >3gb.

1 Like