To burn the candle at both ends

To work excessively hard; to work too hard for good health or peace of mind

e.g. my niece is writing up her thesis. She is up until the early hours every night, getting only a few hours’ sleep a night; she is burning the candle at both ends.