Redis/Valkey: OOM command not allowed when used memory > maxmemory

Instance reached configured maxmemory with `noeviction` policy active.

Runs locally in browser Free · No login Independently Verified 2026-11-25 v4.0.0
Identifier: Redis/Valkey: OOM command not allowed when used memory > maxmemory Platform: Redis / Valkey

Interactive Diagnostic Checklist

Safe Diagnostic Command:
redis-cli INFO memory && redis-cli CONFIG GET maxmemory-policy

Technical Explanation

Instance reached configured maxmemory with `noeviction` policy active. Verified resolution path: Audit key TTLs (`--bigkeys`), configure an appropriate eviction policy (e.g. allkeys-lru for caches), or raise maxmemory.

Worked Examples

  • Read-only diagnostic command: redis-cli INFO memory && redis-cli CONFIG GET maxmemory-policy

Limitations & Assumptions

  • Always verify which infrastructure layer (CDN, Nginx, runtime, OS, or database) emitted the error before modifying production config.

Source References & Verification

Resource ID: err-redis-oom-command-not-allowed · Independently verified: 2026-11-25

Related Resources