Back to Redis

MEMORY MALLOC-STATS

content/commands/memory-malloc-stats.md

latest1.0 KB
Original Source

The MEMORY MALLOC-STATS command provides an internal statistics report from the memory allocator.

This command is currently implemented only when using jemalloc as an allocator, and evaluates to a benign NOOP for all others.

Redis Software and Redis Cloud compatibility

| Redis Software | Redis Cloud | <span style="min-width: 9em; display: table-cell">Notes</span> | |:----------------------|:-----------------|:------| | <span title="Not supported">❌ Standard</span> <span title="Not supported"><nobr>❌ Active-Active</nobr></span> | <span title="Not supported">❌ Standard</span> <span title="Not supported"><nobr>❌ Active-Active</nobr></span> | |

Return information

{{< multitabs id="memory-malloc-stats-return-info" tab1="RESP2" tab2="RESP3" >}}

Bulk string reply: a long string of statistics.

-tab-sep-

Verbatim string reply: a long string of statistics.

{{< /multitabs >}}