Java heap space error when running Logstash

Hi Everyone ,,

I am very new to the Elastic Stack and I hope to get your help in the following problem:

I am facing the error "Java heap space" when running the Logstash, the config file contains 2 indices (one select statement for each - around 30K records will be fetched for each), the fetch size = 1000000

When changing the RAM size to be 3GB I still am facing the same error but when changing the fetch size to be 50000 it works but with a very bad performance, any suggestions on this regard?

Please don't post the same question multiple times under different names.

There is no delete option for the question that’s why another team member tried to ask the same question, in addition, you are not answering our questions and this seems to be a good product support and it will let us for sure take it !

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