殫精竭慮

Idiom

 * 1) to exhaust one's energy and rack one's brain