Is the Xms/Xmx setting defining the memory space that is allocated outside
of the jvm heap? The java executable looks like its set to -Xms256m -Xmx1g.
It looks like my command line options do not affect the java memory
parameters.
I've also tried exporting ES_MIN_MEM and ES_MAX_MEM but I don't see any
differences in the process details.
Oops I stand corrected on the last part: when I export ES_MIN/MAX_MEM
settings and start up elastic search, the java memory settings reflect the
memory settings I defined in the environment variables.
So the problem stands with the command line memory settings.
It gets a little more confusing when I set both the environment variables
ES_MIN_MEM and ES_MAX_MEM and also specify memory settings from the command
line.
It is being passed, check at the end of the command. The last memory
settings used are the ones that are applied, and the script makes use of
that fact. You can easily see the memory settings elasticsearch was started
with using the nodes info API.
Oops I stand corrected on the last part: when I export ES_MIN/MAX_MEM
settings and start up Elasticsearch, the java memory settings reflect the
memory settings I defined in the environment variables.
So the problem stands with the command line memory settings.
It gets a little more confusing when I set both the environment variables
ES_MIN_MEM and ES_MAX_MEM and also specify memory settings from the command
line.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.