I have a machine running elasticsearch 7.X as a service, wich have 64GO of RAM available,
When setting the heap size of elasticsearch( Xmx and Xms 50% of my physical RAM) , it cannot accept and elasticsearch failed to start.
Another problem, when i set the heap size to x value, for example 20GO ,elasticsearch start withount problem but when i rebbot the machine or stop the service elasticsearch failed to start with the last heap size, i shoud decrease the value to start it .
How can I fix this error or what is the problem plz ?
The recommendation is generally to set the heap to 50% of RAM or around 30GB (to make sure you make use of compressed pointers). Without seeing error messages or logs it is hard to know why it is failing to start up.
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.