What exceeds the space it was given. Overflow must be handled deliberately, or it is simply lost.
Old English oferflōwan (to flow over), from ofer (over) + flōwan (to flow); what a container cannot hold spills past the space it was given.
What a container could not hold and had to give up. Left unhandled, an overflow is simply lost rather than kept somewhere else.