redis
memory_error
ai_generated
true
OOM command not allowed when used memory > maxmemory
ID: redis/maxmemory-reached
80%Fix Rate
85%Confidence
3Evidence
2023-01-01First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 7 | active | — | — | — |
Root Cause
Redis memory usage exceeded maxmemory limit.
genericWorkarounds
-
90% success Set appropriate eviction policy: allkeys-lru or volatile-ttl
-
88% success Add TTL to all keys and increase maxmemory if needed
Dead Ends
Common approaches that don't work:
-
Remove maxmemory limit entirely
85% fail
OOM killer may kill Redis process
-
Set maxmemory-policy noeviction
72% fail
Writes fail, app breaks