Show Redis memory usage and limit
how much ram does redis use | check redis maxmemory | redis memory full | redis | redis-cli | memoryredis-cli INFO memory | grep -E '^(used_memory_human|used_memory_peak_human|maxmemory_human|maxmemory_policy|mem_fragmentation_ratio):'Filters the five most important values from the memory section. maxmemory_human:0B means no limit, so Redis keeps growing until RAM runs short. For a pure object cache, allkeys-lru is the usual policy, while with noeviction Redis rejects writes once the limit is reached.
Note: A mem_fragmentation_ratio well above 1.5 indicates wasted memory, while a value below 1 suggests the server is swapping.
Also searched as
- how much ram does redis use
- check redis maxmemory
- redis memory full