I am getting this error in sonar.log and es.log regarding starting elasticsearch:
ERROR: [1] bootstrap checks failed
[1]: initial heap size [130023424] not equal to maximum heap size [2051014656]; this can cause resize pauses and prevents mlockall from locking the entire heap
Most sources advise to set the initial and maximum heap sizes the same in jvm.options. However, they are already set the same in my elasticsearch jvm.options file:
-Xms1g
-Xmx1g
Any suggestions on what to do from here?
Thank you in advance