title: Setting ES_HEAP_SIZE in windows
body: <p>I'm using Windows 2012 R2 machine.</p>
  
  <p>I have set my Heap Size in Environment variable as follows
  ES_HEAP_SIZE
  4g</p>
  
  <p>After setting the heap size, i have installed Elasticsearch as windows service using command</p>
  
  <pre><code>service.bat install
  </code></pre>
  
  <p>When i started the service, Elasticsearch services has taken 4GB properly (Checked in Taskmanger.exe)</p>
  
  <p>After some time, the memory used by elasticsearch service is came down to 1 GB.</p>
  
  <p>Is this expected?</p>