MEMORY MALLOC-STATS
Syntax
MEMORY MALLOC-STATS
Time complexity: Depends on how much memory is allocated, could be slow
The MEMORY MALLOC-STATS
command provides an internal statistics report from the memory allocator.
Return
Bulk string reply: the memory allocator’s internal statistics report