Add memory tuning to redis config.