Analyze memory
RedisMemoryCommand
MEMORY DOCTORWhat it does
Analyzes memory usage and produces a human-readable report on possible problems.
When to use it
For diagnosis when high memory usage or fragmentation is suspected.
Caution
Read-only analysis; for details you can also use the MEMORY STATS command.