title: Elasticsearch ignores my JVM heap size settings
body: <p>I am running Elasticsearch inside a Docker container in Linux (Ubuntu). I am having a lot of <code>circuit_breaking_exception</code> 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.</p>
  <p>So I've gone to change the setting in <code>jvm.options</code>. The default is:</p>
  <pre><code>-Xms1g 
  -Xmx1g
  </code></pre>
  <p>And I've changed it to:</p>
  <pre><code>-Xms2g 
  -Xmx2g
  </code></pre>
  <p>And here comes the twist: not only I keep getting the same <code>circuit_breaking_exception</code> with the same size limit; <code>echo $ES_JAVA_OPTS</code> returns <code>-Xmx512m -Xms512m</code>. This is not even the default setting. I've also tried leaving the default <code>jvm.options</code> and creating a new <code>user.options</code> inside <code>jvm.options.d</code>, with the same result. Am I missing something? Am I doing anything wrong here?</p>