Graylog Increase JVM heap space Memory

Can anybody tell me how to increase the JVM heap space Memory in the latest stable Graylog Build? I tried changing it in /etc/default/elasticsearch ES_HEAP_SIZE. I even tried setting the min and max limits with ES_MIN_MEM and ES_MAX_MEM. Nothing seems to work. Once I restart Elasticsearach and Graylog the value is still stuck at 972.8 MB.
I am running the manual installation of Graylog on Ubuntu 16.04.03 LTS

brain melts in corner of the room

Thank You

a 32 jvm only allocates a heapspace of up to 4GB.

Try making sure the program runs with 64 bit java, and if it still complains about heap space call the program with these parameters:

java -Xmx2048M -jar MyApp.jar

1 Like