Can anybody please tell me the difference in Java process memory size and Java heap size. Actually, I was trying to configure Elasticsearch 1.5.2 instance on a machine. Its document
says that I can configure maximum allowed memory for the process. I suppose this is how it's done
export JAVA_OPTS=”-Xms256m -Xmx512m”
Also, I can set ES_HEAP_SIZE environment variable to tweak max heap size (Semantics is not given). Can anybody please tell me the difference between both and how to configure (syntax to specify memory) ES_HEAP_SIZE?