Java Heap logstash

[2024-08-16T07:54:27,150][FATAL][org.logstash.Logstash    ] uncaught error (in thread pool-701-thread-1)
java.lang.OutOfMemoryError: Java heap space

I will be running one pipeline. Haven't changed any default settings.

pipeline.batch.size: 125
pipeline.batch.delay: 50

Please suggest how to replicate this issue and how to solve this in dev environment.

Hi,

Please take a look at the documentation:

You can use the jvm.options file to set JVM settings like -Xmx to increase the heap size. I think the default is 1GB, so you may try to increase this as per your needs.

Best regards
Wolfram

1 Like