
Claude Code Memory: How a 50KB Index Burned Half My Quota
A routine Claude Code PR review burned 48% of my 5-hour quota. Sub-agents and conversation length were red herrings. The real cause was a 51.9KB MEMORY.md being re-injected into the system prompt every turn. The cost equation, what got fat, and the index pattern that fixed it.







