Gemini CLI PR fixes OOM in long agentic sessions with 64KB tool output budget and inlineData eviction

tadipavan · ghdev · 2026-11-06

A community PR (google-gemini/gemini-cli #30180) fixes a V8 heap out-of-memory crash (Reached heap limit Allocation failed) during long-running agentic sessions that repeatedly read many files or handle multimodal tool outputs like screenshots.

Key changes:

A useful reference for anyone building agent context management: byte accounting of tool outputs and evicting multimodal payloads are critical details for long-session stability.

Original post →

More from coding & agent

coding & agent channel →