CONFIG GET takes a glob pattern, so maxmemory* matches related keys; CONFIG SET changes a value at runtime and CONFIG REWRITE persists it to the config file. Related: INFO memory.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.