MEMORY PURGE
Syntax
MEMORY PURGE
- Available since:
- 4.0.0
- Time complexity:
- Depends on how much memory is allocated, could be slow
- ACL categories:
-
@slow
,
The MEMORY PURGE
command attempts to purge dirty pages so these can be
reclaimed by the allocator.
This command is currently implemented only when using jemalloc as an allocator, and evaluates to a benign NOOP for all others.
RESP2/RESP3 Reply
Simple string reply:OK
.