Thank you for the quick response, but I have installed 7.7 version of Elasticsearch. And for the older version we need to set the heap size.
What elastic recommend for the windows 64-bit os with 16GM ram size.
Can you help me with this setting?
David,
what is setting to let Elasticsearch decide about jvm.
documentation didn't mention about that
It only said below. I am confuse. is this telling me not to touch jvm.options file and Elasticsearch will decide jvm heap by node role? am i correct on this assumption?
Set Xmx and Xms to no more than 50% of your physical RAM. Elasticsearch requires memory for purposes other than the JVM heap and it is important to leave space for this. For instance, Elasticsearch uses off-heap buffers for efficient network communication, relies on the operating system’s filesystem cache for efficient access to files, and the JVM itself requires some memory too. It is normal to observe the Elasticsearch process using more memory than the limit configured with the Xmx setting.
Set Xmx and Xms to no more than the threshold that the JVM uses for compressed object pointers (compressed oops); the exact threshold varies but is near 32 GB.
So use Half of the RAM available and no more than 30gb of HEAP.
David,
I might have not understanding what here automatic vs manual.
automatic for me is I don't have to change anything and Elasticsearch will choose jvm heap by taking 50% for actual memory
manual means I update jvm.options file, add jvm heap and start elasticearch.
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.