Difference between revisions of "OOM command not allowed when used memory ..."
Jump to navigation
Jump to search
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | OOM command not allowed when used memory > ‘maxmemory’ | + | * https://redis.io/docs/getting-started/faq/#whats-the-redis-memory-footprint |
+ | * https://aws.amazon.com/premiumsupport/knowledge-center/oom-command-not-allowed-redis/ | ||
+ | |||
+ | [[OOM]] command not allowed when used memory > ‘maxmemory’ | ||
+ | |||
+ | Solution: | ||
+ | * Set a [[TTL]] value for [[keys]] on your node. | ||
+ | * Update the parameter group to use a different maxmemory-policy parameter. | ||
+ | * Delete some existing keys manually to free up memory. | ||
+ | * Choose a larger node type. | ||
== Related == | == Related == | ||
* [[Redis memory footprint]] | * [[Redis memory footprint]] | ||
+ | * <code>[[redis-cli info memory]]</code> | ||
+ | |||
+ | maxmemory | ||
+ | maxmemory-policy noeviction | ||
== See also == | == See also == | ||
+ | * {{redis-cli memory}} | ||
* {{OOM}} | * {{OOM}} | ||
− | |||
[[Category:Memory]] | [[Category:Memory]] | ||
+ | [[Category:Redis]] |
Latest revision as of 11:11, 4 October 2022
- https://redis.io/docs/getting-started/faq/#whats-the-redis-memory-footprint
- https://aws.amazon.com/premiumsupport/knowledge-center/oom-command-not-allowed-redis/
OOM command not allowed when used memory > ‘maxmemory’
Solution:
- Set a TTL value for keys on your node.
- Update the parameter group to use a different maxmemory-policy parameter.
- Delete some existing keys manually to free up memory.
- Choose a larger node type.
Related[edit]
maxmemory maxmemory-policy noeviction
See also[edit]
Advertising: