Memory leak/consume processes

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Cursor consumes all the memory available

Steps to Reproduce

  1. Open a new agent chat, start working on a task/issue
  2. After the agent has completed the job open a new chat to work on another task/issue
  3. Repeat step 2 several times

Expected Behavior

Cursor kills previous processes or frees allocated memory for the process

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.1.34 (Universal)
VSCode Version: 1.105.1
Commit: 609c37304ae83141fd217c4ae638bf5321856500
Date: 2025-11-25T16:35:52.391Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.0.0

For AI issues: which model did you use?

It is valid for all AI models

Does this stop you from using Cursor

Yes - Cursor is unusable

1 Like

Hey, thanks for the report. This memory leak with multiple agent chats has been reported by several users recently. Let’s run a quick set of diagnostics to narrow down the cause.

Quick diagnostic steps:

  1. Test without extensions:

    cursor --disable-extensions

Check if the memory issue still occurs.

  1. Check Process Explorer:
    CMD+Shift+P → “Developer: Open Process Explorer”
    Please share a screenshot showing which process is using the most memory.

  2. Clean up globalStorage (this recently helped in a similar case):

    • Completely close Cursor
    • Press CMD+Shift+G in Finder
    • Go to: ~/Library/Application Support/Cursor/User/globalStorage/
    • Rename state.vscdb and state.vscdb.backup by appending something like .old
    • Restart Cursor and check for updates (Help → Check for Updates)

  3. Check for console errors:
    Help → Toggle Developer Tools → Console tab → take a screenshot of any errors you see.

It would also be helpful to know:

  • Which extensions you have installed
  • Approximately how many messages you have in each agent chat

Let me know what you find from these diagnostics.

I’m also facing the same issue.

Unfortunately, these methods didn’t help me

Same is happening to me, it’s using far more than 3GB just by stay opened without any file or tab. My setup also is very “minimal” talking about extensions