Transport client Memory issue

Hi All,

I am using transport client to connect with ElasticSearch. I am using singleton transport client.

My application goes out of memory when load increase. I tried to analyze heap dump and found aggregated query result in jvm.

What would the best approach to solve this memory failure.

Thanks!

Hey,

if you application goes OOM, then possibly the aggregation result is too big? Can you reduce the result by returning less buckets? If the aggregation contains the data you need, you are going to need more heap I guess. Another possibility is, that you have many requests in parallel with big aggs, so trying to reduce the amount of parallel requests (or the aggs size response) might help.

--Alex