MEMORY-MALLOC-STATS(3valkey)

πŸ“¦
version 9.0.6 Β· 2 versions
, in fedora 44

πŸ’– MEMORY-MALLOC-STATS πŸ’–

okay bestie so this is a page from the Valkey Command Manual, section 3valkey, and it's all about the MEMORY MALLOC-STATS command πŸŽ€


✨ NAME ✨

memory-malloc-stats β€” it hands you back the allocator's statistics. that's it, that's the whole vibe πŸ’…


🌸 SYNOPSIS 🌸

MEMORY MALLOC-STATS

πŸ¦‹ DESCRIPTION πŸ¦‹

so MEMORY MALLOC-STATS literally gives you an internal statistics report straight from the memory allocator. like, the allocator is spilling its whole diary, no cap πŸ““βœ¨

⚠️ big caveat bestie: this command is currently implemented only when using jemalloc as an allocator, and for every other allocator it just evaluates to a benign NOOP. translation: if you're not on jemalloc you get nothing and nobody is mad about it. it's giving "polite shrug" πŸ™ˆ

πŸ’Œ REPLY πŸ’Œ

valkey-protocol(7) Bulk string reply: the memory allocator's internal statistics report. a whole string of allocator tea 🍡


πŸ‘‘ COMPLEXITY πŸ‘‘

Depends on how much memory is allocated, could be slow 😭 like, the more memory you got, the more it's gonna make you wait. plan accordingly, fr fr


🌈 ACL CATEGORIES 🌈

  • @slow β€” yeah she's tagged slow, we said what we said 🐌

⭐ HISTORY ⭐

  • Available since: 4.0.0 β€” an icon since day one, periodt πŸ‘‘

πŸ”₯ SEE ALSO πŸ”₯

the whole friend group, in order:


k that's the whole page, you ate it, go check your allocator stats bestie 🫢

this was page MEMORY-MALLOC-STATS(3valkey) from the Valkey Command Manual, version 9.0.0, dated 2025-10-21 β€” mwah, mwah, and mwah again πŸ’œπŸ§šβœ¨

πŸ“¦ where this page comes from