Abort in case of any memory allocation error.