Better error when max string size is reached.