内存清理

Syntax
MEMORY PURGE
Available since:
4.0.0
Time complexity:
Depends on how much memory is allocated, could be slow
ACL categories:
@slow,

MEMORY PURGE 命令尝试清除脏页,以便分配器可以回收这些页面。

此命令目前仅在将jemalloc用作分配器时实现,对于所有其他情况,它评估为一个无害的NOOP。

RESP2/RESP3 回复

Simple string reply: OK.
RATE THIS PAGE
Back to top ↑