ES not using all the memory assigned to it

Hi,
I'm running ES (1.6) for development on my MacBook PRO and I am trying to give ES more memory to use for improving query speed

I've tried
export ES_HEAP_SIZE=2g

The process is named:
/usr/bin/java -Xms2g -Xmx2g -Djava.awt.headless=true -
so it's it's getting the message but it still only uses 1gb of memory even if there is free memory

Does any one know what is the reason?

How are you verifying this?

Hi, thanks for answering but I realized I was wrong
It just took a while until it started using all the memory I gave it
thanks again

Right. For future reference, you can check the allocated heap size of an Elasticsearch server through a variety of methods that I've outlined previously. Note that since you're on Elasticsearch 1.6 I am not sure if all of them will work, but at least some of them will. :slight_smile: