GitHub issue #60134 in zed-industries/zed, created 2026-06-30 by greenaussie and titled "Codex (via ACP) consumes large amounts of memory in Zed", reports very large memory consumption when using ACP with Codex, which increases significantly for each thread load, while the same session directly from the Codex CLI is fine. The report shows a simple sequence in which Zed appears to consume 25 percent of memory loading a single thread: with Zed 1.8.2 and codex-cli 0.142.2 on Fedora Linux 44 with 32 GB RAM, the zed-editor process grows from about 483 MB resident and 1.4 percent of memory to about 8961 MB resident and 27.7 percent of memory after clicking on a long running thread as the first action, while the codex process stays near 135 to 186 MB. Changing projects within the Zed interface is also reported to cause a step change in consumption. The expected behavior stated is similar or at least stable memory consumption when using Codex via ACP in Zed.
Verbatim Excerpts from Cited Records
“I'm using ACP with Codex and see very large memory consumption, which increases significantly for each thread load.”
·
zed-industries/zed (issue 60134 opening body, Reproduction steps section)
·
2026-06-30T05:08:11Z
·GitHub Issue ↗
“The same session directly from Codex CLI is fine.”
·
zed-industries/zed (issue 60134 opening body, Reproduction steps section)
·
2026-06-30T05:08:11Z
·GitHub Issue ↗
“This simple sequence demos how zed appears to consume 25% of memory loading a single thread.”
·
zed-industries/zed (issue 60134 opening body, Reproduction steps section)
·
2026-06-30T05:08:11Z
·GitHub Issue ↗
“Changing projects within the Zed interface will will cause a step change in consumption.”
·
zed-industries/zed (issue 60134 opening body, Reproduction steps section)
·
2026-06-30T05:08:11Z
·GitHub Issue ↗
Counter-record: Issue remains open as of 2026-12-02 (last updated 2026-12-01T07:59:01Z) and carries the state:needs repro label. 23 comments read in total. zed-community-bot (2026-06-30) linked possibly related open issues #59442 and #59107. jensvonbulow (2026-07-07) reproduced the broad pattern on Windows with Codex ACP on Zed 1.9.0, with resident memory jumping from 157 MiB to 1450 MiB in about 90 seconds. yeskunall (2026-07-09) reported Zed main process memory growing beyond 20 GB with Agent and ACP context referencing large generated files, ending in a systemd-oomd kill. ReyMoss (2026-07-11) reproduced the same class with Claude ACP on Zed 1.10.2, with memory jumping from about 90 MiB to 3.3 GiB on restoring one thread. r00q (2026-07-14) reported Zed reaching 20 GB and over 40 GB before with the same Codex ACP thread. adbony (2026-07-27) cross-referenced #61702 and described the trigger as transcripts referencing since-deleted temp scratch files or binary paths, with failures retried indefinitely. code3z (2026-08-03) reported over 50 GB of memory use with Claude Code via ACP. yajo (2026-08-07) reported the same problem with OpenCode over ACP. jensvonbulow (2026-08-10) said his team reproduced the general failure mode locally and offered diagnostic details, with no patches submitted upstream. r00q (2026-08-11) described a local resume-only mode workaround in codex-acp. paragasu (2026-08-20) reproduced the same class with the built-in agent on Zed 1.16.1 on macOS. calvinalkan (2026-08-31) reported a 376 MiB chat becoming a 6.7 GiB baseline after restart. itresfall (2026-09-01) reproduced it on Windows with Zed 1.17.2, with Zed.exe reaching about 19.6 GB. ihivaRitik (2026-09-23 and 2026-10-08) reported the same failure mode on Linux with Zed 1.20.1 and 1.21, including a main process plateau near 9.2 GB and idle eviction dropping RSS from 10.27 GB to 1.32 GiB. Izaacapp (2026-10-10) shared a source-level root cause analysis. Vanuan (2026-10-11) linked three lazy-load pull requests, #65422, #65444 and #65470. Jason5Lee (2026-10-19), lorenzkrinner (2026-10-20) and 0x12th (2026-11-02) reported the same issue with Pi agent, Codex ACP and Codex via ACP on macOS. Vanuan (2026-11-02) replied that Zed must be restarted to free the memory. Seithx (2026-12-01) added a possible CPU-related follow-up on Windows with Zed 1.30.2 and idle Claude ACP sessions. No maintainer fix or not-planned decision appears in the surveyed thread. The claim documents only the original report, not a verified current state.
Falsification probe: If GitHub issue #60134 is closed as fixed, as a duplicate, or as not planned, 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.