mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 00:50:50 +00:00
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…
x
Reference in New Issue
Block a user