I have a machine running elasticsearch 7.X as a service, wich have 64GO of RAM available,
When setting the heap size of elasticsearch(
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 ?