How to debug the error “OOM command not allowed when used memory > 'maxmemory'” in Redis?

前端 未结 7 1454
囚心锁ツ
囚心锁ツ 2020-12-28 13:58

I\'m getting \"OOM command not allowed\" when trying to set a key, maxmemory is set to 500M with maxmemory-policy \"volatile-lru\", I\'m setting T

7条回答
  •  礼貌的吻别
    2020-12-28 14:40

    Redis' maxmemory volatile-lru policy can fail to free enough memory if the maxmemory limit is already used by the non-volatile keys.

提交回复
热议问题