Freeze & Memory Leak in Agents Layout

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Using the agent in the “Agents” layout causes the application to become unresponsive, and memory usage to climb by ~12GB.

After force closing the application and reopening it, it will often exhibit the same behavior after a minute even without agent usage. Switching to “Editor” layout quickly after opening prevents this.

Giving the agent the same prompt as before, but when in “Editor” layout, works as expected.

Steps to Reproduce

  1. Open a new project in an empty working directory.
  2. Open Process Explorer.
  3. Activate the “Agents” layout (clicking “Agents” button in top left of window).
  4. Start a new agent chat.
  5. Run it with the prompt: “Without using MCP tools, initialize a Bevy project with Wayland support.”
  6. Wait for the freeze to occur after a short time of running normally.
  7. Observe the memory use of “window [1]” process climb.
  8. Force close application.
  9. Relaunch application.
  10. Open Process Explorer quickly.
  11. Wait for another freeze to occur after a short time.
  12. Observe the memory use of “window [1]” process climb.

Screenshots / Screen Recordings

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.0.43
VSCode Version: 1.99.3
Commit: 8e4da76ad196925accaa169efcae28c45454cce0
Date: 2025-10-30T18:49:27.589Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Linux x64 6.14.0-35-generic

Additional Information

Behavior seems unaffected by:

  • forcing Electron to use Wayland or X11.
  • turning hardware acceleration on or off.

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, thanks for the report. This is a known bug in v2.0.43. Several users fixed the freezes/memory leaks by changing one setting.

Try this:

  • Open Command Palette Ctrl+Shift+P → Preferences: Open User Settings (JSON)
  • Find "workbench.editor.showTabs": "single”
  • Change it to ”multiple" or remove the line
  • Restart Cursor

This setting is causing Agents layout freezes and memory leaks in the current version.