Applies immediately without a restart; CONFIG REWRITE writes it back to redis.conf so it survives a restart, otherwise it is lost. Related: CONFIG GET maxmemory.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.