Skip to content

Perf: ~3s hang + memory leak when switching workspaces (Linux, Claude Code) #117

@aabidos

Description

@aabidos

First, a thank you for this project !


Summary

After a fresh install with just 2 workspaces running Claude Code, and 20 minutes, memory is already at ~2.7 GB. Switching between workspaces causes a ~3 second UI freeze, and memory appears to grow continuously over the session rather than stabilizing.


Environment

OS KDE neon 24.04 (Ubuntu 24.04 base), kernel 6.14.0-36-generic
CPU Intel Core Ultra 7 155H
RAM 64 GB total — 2.7 GB used by Pane with just 2 Claude Code workspaces
Pane version Latest release
Agent in panes Claude Code
Number of workspaces 2 (minimal use)

Behavior

Steps to reproduce:

  1. Fresh install of Pane on Linux
  2. Create 2 workspace, each running a Claude Code session
  3. Switch between workspaces

Observed:

  • Memory usage: ~2.7 GB with only 2 workspace
  • Switching workspaces causes a ~3 second freeze before the new workspace becomes responsive
  • Memory appears to grow over time 1 Go at first , then 2.1Go, 2.7Go, ..

Expected:

  • Workspace switching < 100ms
  • Memory usage proportional to actual content, not unbounded growth

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions