Set Logstash and Redis memory limits.