• Home
  • Commands
  • Clients
  • Documentation
  • Community
  • Download
  • Modules
  • Support
Redis
Redis Commands Clients Documentation Community Download Modules Support

MEMORY PURGE

Available since 4.0.0.

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.

*Return value

Simple string reply

Related commands

  • BGREWRITEAOF
  • BGSAVE
  • CLIENT GETNAME
  • CLIENT ID
  • CLIENT KILL
  • CLIENT LIST
  • CLIENT PAUSE
  • CLIENT REPLY
  • CLIENT SETNAME
  • CLIENT UNBLOCK
  • COMMAND
  • COMMAND COUNT
  • COMMAND GETKEYS
  • COMMAND INFO
  • CONFIG GET
  • CONFIG RESETSTAT
  • CONFIG REWRITE
  • CONFIG SET
  • DBSIZE
  • DEBUG OBJECT
  • DEBUG SEGFAULT
  • FLUSHALL
  • FLUSHDB
  • INFO
  • LASTSAVE
  • MEMORY DOCTOR
  • MEMORY HELP
  • MEMORY MALLOC-STATS
  • MEMORY PURGE
  • MEMORY STATS
  • MEMORY USAGE
  • MONITOR
  • REPLICAOF
  • ROLE
  • SAVE
  • SHUTDOWN
  • SLAVEOF
  • SLOWLOG
  • SYNC
  • TIME

This website is open source software. See all credits.

Sponsored by Redis Labs