dimanche 16 octobre 2016

failed to create the java virtual machine

failed to create the java virtual machine


This problem appears when you launch eclipse.

To resolve it you must open the file eclipse.ini . and change the value of -Xmx1024m to -Xmx512m


the final file you obtain is like this;


-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.adtproduct
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.7
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m

Aucun commentaire:

Enregistrer un commentaire