Page replacement algorithms — deciding what to kick out
When RAM is full and a new page needs to come in, exactly which existing page should be sacrificed, and the surprising paradox lurking in the answer.
10 min readUpdated 2026-09-03operating-systemsvirtual-memorypage-replacementbelady-anomaly