# Relation between JVM Usage and multi node in Elasticsearch

**URL:** <https://discuss.elastic.co/t/relation-between-jvm-usage-and-multi-node-in-elasticsearch/372434>\
**Category:** Elasticsearch\
**Created:** [December 27, 2024, 2:10am UTC](https://discuss.elastic.co/t/relation-between-jvm-usage-and-multi-node-in-elasticsearch/372434 "2024-12-27T02:10:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fajaruddin\_Shiddiq](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fajaruddin_shiddiq/32/122375_2.png) [@Fajaruddin\_Shiddiq](https://discuss.elastic.co/u/Fajaruddin_Shiddiq)\
**Post date:** [December 27, 2024, 2:10am UTC](https://discuss.elastic.co/t/relation-between-jvm-usage-and-multi-node-in-elasticsearch/372434/1 "2024-12-27T02:10:15Z")

</div>

Hi Team,

We’re encountering recurring circuit breaker issues in our Elasticsearch. Our current setup is as follows:  
RAM: 32GB  
JVM: 16GB

Previously, we had 16GB RAM and 8GB JVM but experienced the same circuit breaker issue. After increasing the resources to the current configuration, the problem re-appeared within six months, with JVM usage reaching 91%.

I'm doing research that elasticsearch could divide into some nodes. Would this kind of setup help reduce JVM usage workload in my case? also any advice what role should I configure between each node ?

Any advice or experience shared would be greatly appreciated.

Thank you

---

<div class="post-metadata">

**Author:** ![piotrprz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/piotrprz/32/128141_2.png) [@piotrprz](https://discuss.elastic.co/u/piotrprz)\
**Post date:** [December 30, 2024, 9:09am UTC](https://discuss.elastic.co/t/relation-between-jvm-usage-and-multi-node-in-elasticsearch/372434/2 "2024-12-30T09:09:28Z")

</div>

Hello!

I'm afraid that I cannot give you a silver-bullet advice, that will for sure resolve issues. Configuring memory settings and cluster setup (and shards, and many more) depends on your data, usage scenarios, and so on.  
However, perhaps one of the recent Search Labs posts on [troubleshooting Elasticsearch memory](https://www.elastic.co/blog/managing-and-troubleshooting-elasticsearch-memory) or documentation about [high memory pressure](https://www.elastic.co/guide/en/elasticsearch/reference/current/high-jvm-memory-pressure.html) could guide you?  
I'm sorry you're facing the issue and my answer is mostly "it depends", but right now I know too little to aid you.

Good luck!

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [December 30, 2024, 9:29am UTC](https://discuss.elastic.co/t/relation-between-jvm-usage-and-multi-node-in-elasticsearch/372434/3 "2024-12-30T09:29:31Z")

</div>

What is the full output of the [cluster stats API](https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-stats.html)?
