Memory usage question

hi
I have set this:
ES_JAVA_OPTS=-Xmx512m

ES_MIN_MEM=512m

ES_MAX_MEM=512m

ES_HEAP_SIZE=512m
and mem lock all = 1

So I wanted it to use not much memory because the number of queries is low
now.
But when i run top, it says it uses 1.5 GB
It's ok or I have done something wrong?

On May 28, 5:03 am, Pavel Dvorak pavel.dvorak.w...@gmail.com wrote:

hi
I have set this:
ES_JAVA_OPTS=-Xmx512m

ES_MIN_MEM=512m

ES_MAX_MEM=512m

ES_HEAP_SIZE=512m
and mem lock all = 1

So I wanted it to use not much memory because the number of queries is low
now.
But when i run top, it says it uses 1.5 GB
It's ok or I have done something wrong?

max heap size < max memory used (or reported by top)

You can use jconsole or bigdesk to see what's going on.