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

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

    Memory is controlled in the config. Thus, your instance limited as it says. You can either look in your redis.conf or from the CLI Tool issue "config get maxmemory" to get the limit.

    If you manage this Redis instance, you'll need to consult and adjust the config file. Usually looked for in /etc/redis.conf or /etc/redis/redis.conf.

    If you are using a Redis provider you will need to get with them about increasing your limit.

    0 讨论(0)
提交回复
热议问题