MEMORYMemory introspection subcommands.
| 構文 | MEMORY USAGE key [SAMPLES count] | STATS | DOCTOR | PURGE | MALLOC-STATS |
| グループ | server |
| 引数の数 | -2 |
| 導入バージョン | 1.0.0 |
| フラグ | readonly |
| 計算量 | USAGE: O(1) — the accounting is exact, not sampled. STATS: O(1) from the instance-wide gauges |
| Redis 互換性 | differs: USAGE's SAMPLES count is parsed and ignored (our accounting is exact); PURGE is a no-op (system allocator, no arena); DOCTOR and MALLOC-STATS return canned strings; STATS is a trimmed 8-field set |