Graylog JVM Heapsize on Docker-compose

Hey there, just like anything else when it comes to config options, this can be addressed by using an environment variable. The one for this would be GRAYLOG_SERVER_JAVA_OPTS. So, you could add this to your Docker compose file:

GRAYLOG_SERVER_JAVA_OPTS="-Xms4g -Xmx4g -XX:NewRatio=1 -server -XX:+ResizeTLAB -XX:-OmitStackTraceInFastThrow"

Try that and see if that addresses your issue.

1 Like