It keeps crashing with a code 5, especially when I try to use multiple agent panes. How can I fix it?
Hey!
The code 5 crash with multiple agent panes is a known issue our team is actively working on. Each agent session accumulates state in memory, and running several concurrently pushes the renderer past its limits.
A few things that should help while a fix is in progress:
-
Limit concurrent agent panes to 2-3 at a time. More than that significantly increases crash risk.
-
Restart Cursor between heavy sessions (fully quit and reopen, not just reload the window). This clears the accumulated memory.
-
Make sure you’re on the latest version: Help > Check for Updates.
If it keeps happening, could you share your Cursor version (Help > About Cursor > Copy) and the main.log from Help > Open Logs Folder right after a crash? That’ll help us prioritize the fix for your specific scenario.