Elasticsearch is taking -Xms and -Xmx as 1g even after changing it to 32g in config\jvm.options file

Hi,

I have changed the -Xms and -Xmx to 32g but still elasticsearch is considering -Xms and -Xmx as a 1g. I could see it is taking as a 1g in logs.

My jvm.options will look like

-Xms32g
-Xmx32g

after changing I have restarted service but still it is taking as 1g. I'm using 6.5.4 version.

Kindly help me to increase the heap size.

Regards,
Prasanth

Hi,

Can you give the OS name and version (uname -avv), and how did you install Elasticsearch ?
And, how do stop/start the service.

thx,
Xavier

I'm using windows server 2012 R2 and I have hosted as a windows service using "elasticsearch-service.bat install" command.

And I'm starting and stopping from services.msc console.

Note: I have tried starting the service by "elasticsearch-service.bat start" command but still it didn't work.

Regards,
Prasanth

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