How-to specify custom jvm.options file

Hi guys,

I have installed elasticsearch 5.4 on Centos7 using yum.

Looking at the systems file I see that I run elasticsearch as a process, like:

/usr/share/elasticsearch/bin/elasticsearch --quiet --daemonize --pidfile=some.pid -Edefault.path.conf=some.conf.yml

But how can I specify a custom jvm.options file (like the one in /etc/elasticsearch directory) ?

You should modify /etc/elasticsearch/jvm.options if you want to tweak jvm options.

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