codelibs / elasticsearch-cluster-runner

Elasticsearch Cluster Launcher on One JVM Instance
Other
66 stars 17 forks source link

Specifying jvm.options file #36

Open barthanssens opened 4 years ago

barthanssens commented 4 years ago

Just wondering if there is a way to specify the jvm.options file (or another way to set e.g Xms / Xmx), since the execute() method seems to look for the elasticsearch.yml and log4j2.properties, but not for the jvm.options file ? Thanks

marevol commented 4 years ago

ElasticsearchClusterRunner is invoked from inside your Java application. Java settings specified at your application are applied to elasticsearch. So, jvm.options file is not needed.

barthanssens commented 4 years ago

Ok, thank you for your swift reply.