Change a config value at runtime.
Section: Server administration
Change a configuration value
bash
bash
CONFIG SET maxmemory 1gbLearn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Server administration
Rewrite config file
Persist runtime config changes back to redis.conf where possible.
Pause client processing
Temporarily pause clients for controlled maintenance.