My logstash 6.3 running in docker is failing, see below:
logstash_1 | java.lang.OutOfMemoryError: Java heap space
logstash_1 | Dumping heap to java_pid1.hprof ...
logstash_1 | Unable to create java_pid1.hprof: File exists
logstash_1 | [2018-07-17T19:43:41,313][ERROR][org.logstash.Logstash ] java.lang.OutOfMemoryError: Java heap space
I have LS_JAVA_OPTS: "-Xmx256m -Xms256m" and ES_JAVA_OPTS: "-Xmx256m -Xms256m", how much mem should I assign (I have 32g avail) ?