Redis OOM command not allowed when used memory > 'maxmemory'

Redis has exceeded the configured memory limit and cannot execute the command.
  1. Check current memory usage and maxmemory limit: INFO memory
  2. Identify top memory-consuming keys: MEMORY DOCTOR and MEMORY USAGE <key>
  3. Free up memory:
    • Delete unnecessary keys: DEL key1 key2
    • Use EXPIRE on keys to set a TTL if applicable.
  4. Increase maxmemory limit if possible: CONFIG SET maxmemory <new-limit>
  5. If data eviction is applicable, adjust eviction policy: CONFIG SET maxmemory-policy <policy-name>

Never debug

Redis

manually again

Let Dr. Droid create custom investigation plans for your infrastructure.

Book Demo
Automate Debugging for
Redis
See how Dr. Droid creates investigation plans for your infrastructure.

MORE ISSUES

Made with ❤️ in Bangalore & San Francisco 🏢

Doctor Droid