Codex Desktop disk bug bloats one image into 15,000+ copies and 400 GiB
bdsqlsz · x · 2026-07-27
A user traced a 400+ GiB disk blow-up in Codex Desktop to a logging bug: every uploaded image was Base64-embedded into .codex/sessions JSONL, every context compression duplicated those images again, and every sub-agent copied the parent thread logs.
- In one session, 57 images led to 1,052 compressions.
- The same image was repeated thousands of times across compaction snapshots and 142 sub-agents.
- The post argues the issue comes from legacy history retention in Codex Desktop, not from unusual user behavior.
More from coding & agent
- Enterprises need a runtime security layer for autonomous AI agents, Reddit post argues — vagobond45 · 2026-07-27
- Applied AI is moving from chatbots to event-driven distributed systems — remilouf · 2026-07-27
- llmux manages vLLM and llama.cpp model swaps with one profile per model — Available-Message509 · 2026-07-27
- Multi-Head Latent Control uses hidden states to cut large-model calls by up to 90.7% — HuaweiTech · 2026-07-27
- Windows DB-driven app builder asks what one AI subscription can really cover — Proud-Ticket-9379 · 2026-07-27
- Procedural and retrieval memory are becoming core agent primitives — goyalshaliniuk · 2026-07-27