Beautified the out of memory errors, also unified.