title: Error Initializing Elasticsearch (VM) - Too small initial heap
body: <p>I'm trying to initialize the Elasticsearch using this <a href="https://github.com/elasticsearch/elasticsearch/blob/master/src/rpm/init.d/elasticsearch" rel="nofollow">init.d</a> file, with the configurations below:</p>
  
  <pre><code># Heap Size (defaults to 256m min, 1g max)
  ES_HEAP_SIZE=1g
  
  # Maximum number of open files
  MAX_OPEN_FILES=65535 
  </code></pre>
  
  <p>But after running the service I get the following error message:</p>
  
  <p><code>Error occurred during initialization of VM
  Too small initial heap</code></p>
  
  <p>The server I'm using is a <em>m3.medium</em> from EC2, which haves 3.75g of memory</p>