From 9d823fc2221a289ba20a599ea50e318084fb2dd5 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 d375d5bb..670e0ead 100644 --- a/src/redis.c +++ b/src/redis.c @@ -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) {