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

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

    Any chance you changed the number of databases? If you use a very large number then the initial memory usage may be high

提交回复
热议问题