Hit the wall
Reach one’s limit, especially physical endurance as in long-distance running, lack of sleep etc. from the obvious allusion of hitting a barrier. It is thought to be of American origin from the late 20th century.