vishnug
(Vishnu G)
December 13, 2021, 6:14pm
1
Hi,
I have a logstash pipeline that uses TCP as input. The pipeline handles around 150k to 200k events per day. I was getting the below errors.
An exception was thrown by org.logstash.tcp.InputLoop$InputHandler$FlushOnCloseListner.operationComplete()
java.lang.OutOfMemoryError: Java heap space
Logstash version - 7.9.3
TCP plugin - 6.0.6
Workers - 1
Batch Size - 500
Heap size - 512mb
can anyone help me with this?
leandrojmp
(Leandro Pereira)
December 13, 2021, 6:38pm
2
Is this the only pipeline you have in your instance?
You have a large batch size for a small heap size, the default batch size is 125
, increasing the batch size also increases the memory overhead.
You should decrease your batch size or increase your heap size.
system
(system)
Closed
January 10, 2022, 6:39pm
3
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.