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

前端 未结 7 1505
囚心锁ツ
囚心锁ツ 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:20

    For such a problem, consider increasing your maxmemory in redis.conf file. It helped me.

    like maxmemory was 21000000 for me then I changed it to 31000000. Hope it helps.

提交回复
热议问题