Delphi\'s generic TQueue class has a property called Capacity. If the number of items in the TQueue exceeds its capacity, additional items
TQueue
Capacity.