MEMORY STATS
Since 1.1.0Server
Syntax
MEMORY STATSReturns the server's memory figures as name-value pairs, with the same names as Redis, for tools that read them:
used_memory,used_memory_rss,used_memory_peakandused_memory_vsize, each also as*_human, andused_memory_peak_perc,used_memoryas a share of the peak.mem_fragmentation_ratioandmem_fragmentation_bytes: RSS againstused_memory.active_defrag_running,lazyfree_pending_objectsandlazyfreed_objects.
The allocator_* and rss_overhead_* figures are always 1.0 and 0: KiviDB does not use jemalloc, which reports them in Redis. INFO memory gives these and more.
Examples
> MEMORY STATS
1) "used_memory"
2) "2101726"
3) "used_memory_human"
4) "2.00M"
5) "used_memory_rss"
6) "18862080"
...
39) "lazyfreed_objects"
40) "4"