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
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
Please help me with this issue. I have 64bit version of jdk1.7.0_55 on Windows 2012 R2.