When you start eclipse, you find that the lower-right corner of the building workspce to 2%, does not move, eclipse for a long time did not respond, and then pop-up error message: An internal error occurred during: "Building Workspace ". GC overhead limit exceeded.
The following figure:
Search the Internet, said it is to modify the eclipse installation of the Eclipse.ini file, to increase the eclipse instance of memory allocation. Open the Eclipse.ini file, which reads as follows:
-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
256M
-showsplash
org.eclipse.platform
--launcher. Xxmaxpermsize
256m
--launcher.defaultaction
openfile
-vmargs
- dosgi.requiredjavaversion=1.5
-dhelp.lucene.tokenizer=standard
-xms512m
-xmx1024m
The corresponding rows to edit are as follows
-xms512m
-xmx1024m
Modify and save and restart Eclipse OK.