Minimize garbage collection


(Suraj) #1

Hi,

How to Minimize garbage collection memory in elastic cluster?


(Gordon Brown) #2

Hi Suraj!

The most important thing is to make sure your heap size is set correctly - we have some guidance on heap sizing in our documentation. There's also this blog post which goes into more depth on why those recommendations improve memory usage and garbage collection.

That blog post also contains some usage recommendations, particularly around sharding, aggregations, and bulk indexing, to keep memory usage and garbage collection under control. The post is a couple years old now, but it is still very relevant.


(system) #3

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