mirror of https://mirror.osredm.com/root/redis.git
More explicit panic message on out of memory.
This commit is contained in:
parent
ecdbaf4695
commit
9d823fc222
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue