Reclaim memory when queue undergoes a large flush.