Last active
December 20, 2020 15:38
-
-
Save cnp96/78c3caf368ad5a395c0a52fc4ccf1393 to your computer and use it in GitHub Desktop.
Redis memory management
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Replace 1gb with a suitable value depending on the server | |
maxmemory 1gb | |
# Setting an eviction policy is very helpful to free memory when required. | |
maxmemory-policy volatile-afu |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment