ElasticSearch Server Not Utilizing Full Memory

I have recently deployed ElasticSearch at our local servers as well as on a
client server.

As we know ElasticSearch uses 1GB memory (RAM) by default.

I increased this memory by setting the environment variable ES_HEAP_SIZE to
4g on local server (where RAM is 8GB). On local server it immediately takes
the given memory and starts using it.

However when we follow the same step on Client Server and set ES_HEAP_SIZE
to 12g (RAM is 24GB), ElasticSearch seems to be using only 1GB at beginning
which slowly increases. As a result on client servers we are getting very
poor performance and even many service hits get timeout.

We have verified that JVM is actually getting the allocated memory size,
but somehow this memory is not being utilized by ElasticSearch on Client
servers.

Our local server is Windows 7 Professional SP1, while client server has got
Windows 2012 R2 Standard edition.

Please help me with this issue. I have 64bit version of jdk1.7.0_55 on
Windows 2012 R2.

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/d29181a7-74a8-4f20-83bd-b0e858b92e92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.