From 3a865829a735bc6627b48a22c02aaa7afb12dfb4 Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 19 Apr 2013 15:11:34 +0200 Subject: [PATCH] More explicit panic message on out of memory. --- src/redis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redis.c b/src/redis.c index 67740c0b..52bd0c0e 100644 --- a/src/redis.c +++ b/src/redis.c @@ -2674,7 +2674,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) {