title: -Xmx2048m is ignored by eclipse.ini
body: <p>my eclipse based product eclipse.ini has below entry to accommodate 2GB of heap memory :</p>
  
  <pre><code>-startup
  plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar
  -application xx.yy.zz.mm.application.application
  -showSplash splash.bmp
  --launcher.appendVmargs
  -vmargs
  -Dosgi.requiredJavaVersion=1.8
  -Xms512m
  -Xmx2048m
  </code></pre>
  
  <p>When launched from exe is not working as the ini entry for Xmx is being ignored.</p>
  
  <p>workaround : I am using now a batch file with below entry:</p>
  
  <pre><code>java -Dosgi.requiredJavaVersion=1.8 -Xms256m -Xmx2048m -Xss4m -jar plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar -application xx.yy.zz.mm.application.application -showSplash splash.bmp
  </code></pre>
  
  <p>which is working fine but the solution looks ugly as users has to launch the application not from exe but from a batch file.
  Any info would be greatly helpful.
  I am using windows7 + 64bit JRE + eclipse Neon</p>
  
  <p>Strange part is while the Xmx agrument is working fine from a batch file but why is not working from .exe+ini!
  I don't know if we can debug the launcher or why the ini file is ignoring the 2048m memory.</p>