Hi,
How to Minimize garbage collection memory in elastic cluster?
Hi,
How to Minimize garbage collection memory in elastic cluster?
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.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.