I am running Elasticsearch inside a Docker container in Linux (Ubuntu). I am having a lot of circuit_breaking_exception
problems, citing a 486.3mb limit; so I've decided to raise my JVM heap size a bit. My machine has 6 GB physical memory, so up to 3 GB should be safe for the heap size.
So I've gone to change the setting in jvm.options
. The default is:
-Xms1g
-Xmx1g
And I've changed it to:
-Xms2g
-Xmx2g
And here comes the twist: not only I keep getting the same circuit_breaking_exception
with the same size limit; echo $ES_JAVA_OPTS
returns -Xmx512m -Xms512m
. This is not even the default setting. I've also tried leaving the default jvm.options
and creating a new user.options
inside jvm.options.d
, with the same result. Am I missing something? Am I doing anything wrong here?
- "ES_JAVA_OPTS=-Xms2g -Xmx2g"
as the environment variable and able to increase heap size. – Py