Why An LLM’s Memory Gets Expensive and How to Fix It