They've tried things like choosing something at random or applying what's called the "first-in, first-out principle," which means removing the item which has been in the memory for the longest.
Ils sont passés du choix aléatoire, au principe du premier entré, premier sorti, qui signifie enlever les données les plus anciennes de la mémoire.