Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Cursor is using a massive amount of memory on my machine, even though I have 64 GB of RAM available. The editor is running extremely slowly — lag on typing, slow file switching, slow AI responses, and the whole system becomes sluggish. Looking at Activity Monitor, Cursor alone appears to be eating well over 20 GB across its helper processes, which seems unreasonable.
Environment
- Cursor Version: 3.1.17
- VSCode Version: 1.105.1
- Commit: fce1e9ab7844f9ea35793da01e634aa7e50bce90
- Date: 2026-04-19T19:33:58.189Z
- Electron: 39.8.1
- Chromium: 142.0.7444.265
- Node.js: 22.22.1
- V8: 14.2.231.22-electron.0
- OS: Darwin arm64 25.4.0 (macOS, Apple Silicon)
- System RAM: 64 GB
What I’m seeing in Activity Monitor
Top Cursor-related processes:
- Cursor Helper (Renderer) — 5.14 GB
- Cursor Helper (GPU) — 3.51 GB
- Cursor Helper (Renderer) — 2.97 GB
- Cursor Helper (Plugin): extension-host (retrieval) chargepanda — 932 MB
- Cursor Helper (Plugin): extension-host (agent-exec) chargepanda — 699 MB
- tsserver[5.9.2]: semantic — 813 MB
- tsserver[5.9.2]: semantic — 594 MB
- Cursor Helper (Plugin): extension-host (user) chargepanda — 566 MB
- Cursor Helper (Plugin): extension-host (user) thinkcapital-nextjs — 526 MB
- Cursor Helper (Plugin): extension-host (user) wp-aicache — 440 MB
- Cursor Helper (Plugin): extension-host (user) stories-app — 417 MB
- ~15 additional Cursor Helper (Renderer) processes — 450 MB to 665 MB each
Total Cursor footprint: roughly 21–22 GB.
I have 4 workspaces open (chargepanda, thinkcapital-nextjs, wp-aicache, stories-app), but each Renderer process averaging 500 MB–5 GB and the number of helper processes still seems excessive.
Questions
- Why is a single Renderer process consuming over 5 GB of RAM? Is there a memory leak?
- Why are there so many duplicate Cursor Helper (Renderer) processes in the 500 MB–700 MB range?
- Is the extension-host spawning a separate plugin process per workspace expected behavior? Can this be consolidated?
- Why is Cursor Helper (GPU) using 3.51 GB?
- Are there any settings, flags, or workarounds to reduce this footprint until a fix is released?
Impact
The IDE is nearly unusable during long coding sessions. I have to restart Cursor multiple times per day to reclaim memory, which breaks my workflow — losing AI context, re-indexing projects, reopening files. On a 64 GB machine this should not be happening.
Screenshot of Activity Monitor attached for reference.
Please investigate and advise.
Thanks.
Steps to Reproduce
Steps to Reproduce
- Fully quit Cursor (Cmd+Q) and relaunch. At this point everything runs fast and memory usage is normal.
- Open a workspace with a medium-to-large codebase (in my case a Next.js project + a WordPress plugin project).
- Start a long AI chat session using Agent mode, where the agent spawns multiple subagents and edits many files across the workspace over time.
- Keep the conversation going for an extended period (typically 30–60+ minutes, with dozens of tool calls, file reads, and file edits).
- Observe in Activity Monitor that Cursor Helper (Renderer) and Cursor Helper (GPU) processes gradually grow from normal sizes (~300–800 MB) into multi-GB territory (5 GB+ for a single Renderer, 3.5 GB for GPU).
- The editor becomes progressively slower — typing lag, delayed file switching, slow AI responses, and eventually the whole system becomes sluggish.
- Quitting and relaunching Cursor temporarily fixes it, but the issue returns after another long agent session.
Expected behavior
Memory should be released after agent tasks complete, file edits finish, and conversation context is no longer actively used. Long chat sessions should not cause unbounded memory growth.
Actual behavior
Memory keeps growing over the lifetime of a chat session and is never reclaimed until Cursor is fully restarted. This strongly suggests a memory leak in either the Renderer process handling the chat UI, the agent/subagent execution pipeline, or the file edit/diff tracking system.
Additional notes
- The issue is reproducible — it happens every time I run a long agent session with many subagents and file edits.
- It does not happen (or happens much more slowly) during normal editing without the AI chat.
- Restart is the only workaround I’ve found, which means losing all AI context and re-indexing the project.
Expected Behavior
Expected Behavior
Cursor should manage memory efficiently during long AI chat sessions, even when the agent uses multiple subagents and edits many files. Specifically:
- Cursor Helper (Renderer) processes should stay within a reasonable range (roughly 300–800 MB per process) and not grow into multi-GB territory over the lifetime of a single chat.
- Cursor Helper (GPU) should not exceed ~500 MB under normal usage.
- Memory used by completed agent tasks, finished subagent runs, and old conversation context should be released (garbage collected) once it is no longer needed.
- Opening multiple workspaces should not multiply memory usage linearly to the point where a 64 GB machine becomes sluggish.
- Users should not need to restart Cursor multiple times per day just to reclaim RAM and keep the IDE responsive.
In short: long agent sessions with many file edits should be a supported, stable workflow — not a trigger for unbounded memory growth.
Screenshots / Screen Recordings
Operating System
MacOS
Version Information
Version: 3.1.17
VSCode Version: 1.105.1
Commit: fce1e9ab7844f9ea35793da01e634aa7e50bce90
Date: 2026-04-19T19:33:58.189Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.4.0
Does this stop you from using Cursor
Yes - Cursor is unusable
