If you have 32G RAM, just configure ES with

ES_HEAP_SIZE=16g

If you want to mess with JVM options, set them to -Xmx16g -Xms16g (look
into bin/elasticsearch.in.sh assuming you are on Linux)

To answer your question, you have passed wrong args in Xmx to the JVM and
the JVM silently resets the heap to the initial heap size, which you can
find out with the command

java -XX:+PrintFlagsFinal -version | grep HeapSize

Jörg

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoENgdThwdEiktDXLPyFECcsDLBK7kOkAnj-OqV89kbiDg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to