Increasing JVM Heap size

Hi guys
i am trying to increase JVM Heap size, i added ES_HEAP_SIZE=3g in /etc/default/elasticsearch, but after doing this and reboot elasticsearch I noticed that in Graylog web platform the node it’s still showing a max size of 972.8MB, i dont know why
Thanks

Hi @ahmadtamimi

There are two JVM Heap sizes, one for Elasticsearch and one for Graylog. The one you are looking at in web UI is JVM of the Graylog which can be configured in /etc/default/graylog-server file, under GRAYLOG_SERVER_JAVA_OPTS variable. For example to set 1.5GB, change -Xms and -Xmx values to -Xms1536m -Xmx1536m.

Hope this helps.

Cheers!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.