Indonesian: Aku kehabisan akal.
English: I was at my wit's end.