Redis Memory Calculator
Redis running out of memory mid-production is almost always a sizing problem, not a Redis problem. Work out roughly how much RAM your data set actually needs, plus headroom for safe snapshotting.
Est. memory per key
Total data set size
Recommended maxmemory
Total across replicas
redis.conf snippet
The 50% headroom above your data set size covers Redis's
copy-on-write memory spike during RDB/AOF background saves — cutting
it too close is the most common cause of unexpected OOM kills.
Fill in the form and press Calculate.