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


(Agile Dev Sat) #1

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.


(David Pilato) #2

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

So one single node with 8gb HEAP.


(system) #3

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