summaryrefslogtreecommitdiff
path: root/src/redis.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2013-04-19 15:11:34 +0200
committerantirez <antirez@gmail.com>2013-04-19 15:11:55 +0200
commit3a865829a735bc6627b48a22c02aaa7afb12dfb4 (patch)
tree8bbe58976a3e48bf2d0388a5b81a0f9932b5bdd8 /src/redis.c
parent0e3baa52417c7142c0f6cdd97978a12ea0f18453 (diff)
downloadredis-3a865829a735bc6627b48a22c02aaa7afb12dfb4.tar.gz
More explicit panic message on out of memory.
Diffstat (limited to 'src/redis.c')
-rw-r--r--src/redis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redis.c b/src/redis.c
index 67740c0b6..52bd0c0eb 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) {