Changing Logstash Heap Size


#1

Is it possible to change the max and min heap size for logstash v5.0.1? If possible, how?


Increase Logstash Java heap-size on Ubuntu 16.10
(João Duarte) #2

you can edit the config/jvm.options file, or use the LS_JAVA_OPTS environment variable.


#3

How do i use LS_JAVA_OPTS for multiple flags? do you have an example?


(João Duarte) #4

LS_JAVA_OPTS="-Xmx2g -Xms1g" bin/logstash -e ""


#5

It works! Thank you very much!


(system) #6

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