What's new in Valkey 9.0? Discover new features and improvements. Read the announcement.

MEMORY MALLOC-STATS

Returns the allocator statistics.

Usage
MEMORY MALLOC-STATS
Complexity
Depends on how much memory is allocated, could be slow
Since
4.0.0
ACL Categories
@slow
Command flags
LOADING

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.

Replies

RESP2

Bulk string reply: the memory allocator's internal statistics report.

RESP3

Verbatim string reply: the memory allocator's internal statistics report.