There is an old app in Eclipse, before packaging is smooth, today several times is not out of the bag, always error, and Eclipse is often not responding, very disgusting this software.
Later carefully read the English error content, the approximate meaning is: unable to execute DEX,GC space shortage, excess
On-line search of some information to find a solution, need to configure the eclipse, add space, as follows:
1. Turn off eclipse to open D:\eclipse\eclipse.ini
-startup
Plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807
-product
Org.eclipse.epp.package.jee.product
--launcher.defaultaction
OpenFile
--launcher. Xxmaxpermsize
512M
-showsplash
Org.eclipse.platform
--launcher. Xxmaxpermsize
512m
--launcher.defaultaction
OpenFile
-vmargs
-dosgi.requiredjavaversion=1.5
-dhelp.lucene.tokenizer=standard
-xms40m
-xmx512m
2, after the modification: modify the following
-vm
C:\Program Files\java\jdk1.7.0_21\bin\javaw.exe
-startup
Plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807
-product
Org.eclipse.epp.package.jee.product
--launcher.defaultaction
OpenFile
--launcher. Xxmaxpermsize
512M
-showsplash
Org.eclipse.platform
--launcher. Xxmaxpermsize
512m
--launcher.defaultaction
OpenFile
-vmargs
-dosgi.requiredjavaversion=1.5
-dhelp.lucene.tokenizer=standard
-xms256m
-xmx1024m
3. Save and open eclipse
This article is from the "Mobile Platform Development" blog, make sure to keep this source http://liuxudong1001.blog.51cto.com/10877072/1875685
Eclipse unable to execute DEX:GC overhead limit exceeded GC overhead limit exceeded solution