Compacter avant le mur
You trigger compaction yourself, at a logical breakpoint in your work, saying what must survive the summary and what can go. You do not let the tool pick the moment, because the moment it picks is always the worst one: when the window is already saturated.