Language:
Free Online Dictionary|3Dict

殫思極慮

Source : CEDICT

to rack one's brains (idiom)