diff options
author | antirez <antirez@gmail.com> | 2013-04-19 15:11:34 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2013-04-19 15:11:55 +0200 |
commit | 3a865829a735bc6627b48a22c02aaa7afb12dfb4 (patch) | |
tree | 8bbe58976a3e48bf2d0388a5b81a0f9932b5bdd8 /src/redis.c | |
parent | 0e3baa52417c7142c0f6cdd97978a12ea0f18453 (diff) | |
download | redis-3a865829a735bc6627b48a22c02aaa7afb12dfb4.tar.gz |
More explicit panic message on out of memory.
Diffstat (limited to 'src/redis.c')
-rw-r--r-- | src/redis.c | 2 |
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) { |