title: Eclipse Failed to create the Java Virtual Machine
body: <p>I'm using eclipse to develop android application and it always gone well, but today it's giving problems. </p>
  
  <p>When i try to open eclipse it show me this message <code>"Failed to create the java virtual machine. Error occurred during initialization of VM. Could not reserve enough space for object heap"</code> </p>
  
  <p><strong>This is my eclipse.ini</strong></p>
  
  <pre><code>-startup
  plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
  --launcher.library
  plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120913-144807
  -product
  com.android.ide.eclipse.adt.package.product
  --launcher.XXMaxPermSize
  256M
  -showsplash
  com.android.ide.eclipse.adt.package.product
  --launcher.XXMaxPermSize
  256m
  --launcher.defaultAction
  openFile
  -vmargs
  -Dosgi.requiredJavaVersion=1.8
  -Xms1336m 
  -Xmx1336m
  -Declipse.buildId=v22.3.0-887826
  -XX:MaxPermSize=512M
  </code></pre>
  
  <p>I tried to change <code>"256m"</code> in <code>"512m"</code> but it still doesn't work. I tried to restart but nothing. I tried to change the <code>-XX:MaxPermSize=512M</code> value, but nothing.</p>