GitHub issue #56747 in zed-industries/zed, opened 2026-05-14 by SkeLLLa, records a report that archived ACP sessions keep their MCP server processes alive: after a thread is archived in the Agent Panel, every previously-archived session still has its agent process and all of its MCP child processes running, each holding its own RSS, so memory usage grows monotonically with the number of archived sessions until Zed is fully restarted or each session is explicitly killed; the report was filed against Zed 1.2.3 on Linux.
Verbatim Excerpts from Cited Records
“Start Zed with at least one ACP-based external agent configured (e.g. Claude Code, Cursor, Cline) that spawns one or more MCP servers per session.”
·
zed-industries/zed (issue 56747 opening body, Reproduction steps section)
·
2026-05-14T13:42:03Z
·GitHub Issue ↗
“Memory usage grows monotonically with the number of archived sessions; nothing reclaims it until Zed is fully restarted or each session is explicitly killed.”
·
zed-industries/zed (issue 56747 opening body, Reproduction steps section)
·
2026-05-14T13:42:03Z
·GitHub Issue ↗
“Expected: archiving a session should tear down the ACP agent process and its MCP children (or at least offer an explicit "close session" that does).”
·
zed-industries/zed (issue 56747 opening body, Current vs. Expected behavior section)
·
2026-05-14T13:42:03Z
·GitHub Issue ↗
“Actual: archive is a UI-only hide. Underlying processes and MCP servers persist for the entire Zed lifetime.”
·
zed-industries/zed (issue 56747 opening body, Current vs. Expected behavior section)
·
2026-05-14T13:42:03Z
·GitHub Issue ↗
Counter-record: Issue open as of the fetch; 7 comments were read. zed-community-bot[bot] (2026-05-14) flagged the report as a possible duplicate of #46474 and #56260. The thread is mixed: miguelraz (2026-05-14) could not reproduce the growth, and SkeLLLa (2026-05-15), the issue author, reported that on Zed 1.2.5 the MCP processes were killed as soon as the session was archived; but Damecek (2026-05-25) confirmed it still reproduces on Zed 1.3.6, ton618to (2026-07-23) confirmed it with the OpenCode ACP agent, chiennguyensoict (2026-10-09) confirmed it on Zed 1.23.2 with a third ACP agent, and yajo (2026-11-17) reported it still affects Zed 1.27.0. No maintainer fix merged and no retraction of the original report appear in the surveyed thread. The claim documents only the original report, not a verified current state.
Falsification probe: If GitHub issue #56747 is deleted without archive, if the author edits the opening body so the quoted sentences no longer match verbatim, or if the author posts a retraction of the report, this claim drops to Withdrawn.
Audit verification: Verified 100% continuous verbatim substring against official GitHub REST API by
scripts/verify_claim_verbatim.py.