title: ElasticSearch object heap space error at launch
body: <p>I am new to ElasticSearch, but already in trouble.
  My configuration:</p>
  <ul>
  <li>Windows 7 Enterprise 64 bits</li>
  <li>8 Gb RAM</li>
  </ul>
  <p>I am unsuccessful at simply starting the instance, using elasticsearch.bat :</p>
  <blockquote>
  <p>Error occurred during initialization of VM</p>
  <p>Could not reserve enough space for object heap</p>
  <p>Error: Could not create the Java Virtual Machine.</p>
  <p>Error: A fatal exception has occurred. Program will exit.</p>
  </blockquote>
  <p>Adter exploring SO forums as well as ElasticSearch support pages, here is what I tried:</p>
  <ul>
  <li>setting min and/or max heap memory (using SET ES_MAX_MEM and SET ES_MIN_MEM on the command line before calling elasticsearch.bat) to various values, from 256m/512m to 256m/3g ==&gt; no change in error message</li>
  <li>setting heap size (using SET ES_HEAP_SIZE on the command line before calling elasticsearch.bat) to various values, from 256m to 3g ==&gt; no change in error message</li>
  <li>uninstalled my Java 7 environment and fresh installed Java 8 64 bits (checked through java -version on the command line) ==&gt; no change in error message</li>
  </ul>
  <p>Surprisingly enough, I can't seem to find any logging information (no 'logs' directory present in %ES_HOME% where the elasticsearch.org documentation states it should be...)</p>
  <p>Would anyone point me to the right direction to get the thing up and running?</p>
  <p>Thanks a lot</p>