Commit 9d823fc2 authored by antirez's avatar antirez
Browse files

More explicit panic message on out of memory.

parent ecdbaf46
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment