MEMORY PURGE

MEMORY PURGE

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.

Redict logo courtesy of @janWilejan, CC-BY-SA-4.0. Download SVG ⤑

Portions of this website courtesy of Salvatore Sanfilippo, CC-BY-SA-4.0.