EST. 2026 — Notes from real server work SYSADMIN · SECURITY · AI · DIRECTADMIN Issue 01
THE SYSADMIN ALMANAC
Home / Tags / Json
Json

#Json

1 articles
Repairing a Claude Code Session .jsonl File Too Large to Open at 38 MB
AI

Repairing a Claude Code Session .jsonl File Too Large to Open at 38 MB

A single session stretched over 8 days grew to 38.61 MB / 11,537 records until the UI could no longer open its history. I wrote a Python script to process it line by line, trimming only the parts that were already unreadable to humans, bringing it down to 17.41 MB while preserving all 8,171 message uuid values in their original order, with no orphans.

#claude-code#ai#python#automation
8 min read·8 Aug