← Memory, Context & State
Memory Eviction
Also known as: memory forgetting
Memory eviction is the process of removing entries from a context window or memory store to free capacity for new information. In-context eviction happens automatically when older tokens fall outside the model's window; deliberate eviction strategies include least-recently-used pruning, relevance scoring, and time-decay policies. Well-designed eviction removes low-value facts while retaining the memories most critical to ongoing tasks.