burn the candle at both ends

Intermédiaire supérieur (B2) informal

To overwork yourself by not getting enough rest.

"She's been burning the candle at both ends trying to finish her thesis before the deadline."