Your miles are numbered
Meaning
Your time is almost up.
Usage
Used when predicting imminent consequences.
Origin & History
Origin notes can vary by region and source; this page gives the commonly reported explanation and usage context.
Alludes to limited mileage left on travel.
Used in mid-20th century industrial jargon.