Abort in case of memory allocation error.