MySQL client ran out of memory