Reputation: 5286
I'm running AWS Elasticache Redis configured with a node type cache.r5.xlarge. Per the configuration, the maxmemory should be 28261849702 (28G). This is gotten from
However when connecting to the redis endpoint, it's showing only 19G:
(from the 'info' command)
# Memory
...
maxmemory:21196387277
maxmemory_human:19.74G
maxmemory_policy:volatile-lru
...
I'm wondering if anyone can explain the discrepancy?
Upvotes: 1
Views: 2112
Reputation: 5286
Found the reason for this: There's a reserved-memory-percent defaulting to 25 (percent). This is an AWS-specific thing, not part of Redis itself.
Upvotes: 3