More explicit panic message on out of memory.

This commit is contained in:
antirez 2013-04-19 15:11:34 +02:00
parent ecdbaf4695
commit 9d823fc222

View File

@ -2757,7 +2757,7 @@ void loadDataFromDisk(void) {
void redisOutOfMemoryHandler(size_t allocation_size) {
redisLog(REDIS_WARNING,"Out Of Memory allocating %zu bytes!",
allocation_size);
redisPanic("OOM");
redisPanic("Redis aborting for OUT OF MEMORY");
}
void redisSetProcTitle(char *title) {