I am using ElasticSearch 1.6.0 on Windows 2008 R2 server. I want to limit the Memory used by the ElasticSearch servers. I set the following and start the server
The windows resource Monitor shows that the java process use 4GB commited memory. I then perform some search and retrieve of 7 millions documents, then the Memory usage of the java process become
Commited: 4GB (no change)
Working set: 13GB
Why does the ES JVM used 9GB of sharable Memory? This cause my machine to be 100% memory full and it become very slow.
How can I limit the Sharable memory used by ElasticSearch?