Heap size for elastic nodes when multiple nodes run on a single machine

Hi,

I have a 16GB RAM and running two elastic processes (nodes) on it.

According to documentation, it say to allocate half memory to lucene. So according to it,

  1. Should i allocate half of memory to all elastic processes combined i.e 4g ram for each process so that 8g is used for both processees?

Or
2. Should i allocate half of memory to a single process? i.e 8g for each elastic node

https://www.elastic.co/guide/en/elasticsearch/guide/current/heap-sizing.html#_give_less_than_half_your_memory_to_lucene

Thanks.

You should not run more than one elasticsearch instance per node.

So one single node with 8gb HEAP.

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