When I started eclipse today, I found the lower right corner of the Building Workspce walked to 2%, did not move, eclipse for a long time did not respond, and then pop up the error message: An internal error occurred during: "Building Workspace ". GC overhead limit exceeded.
Such as:
Search the Internet, said to modify the eclipse installation of the Eclipse.ini file, increase the memory allocation of the eclipse instance. Open the Eclipse.ini file with the following contents:
[HTML]View PlainCopy
- -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 line to edit is as follows
[HTML]View PlainCopy
- -xms512m
- -xmx1024m
Modify and save, and restart eclipse will be OK.
Eclipse Startup error: An internal error occurred during: "Building Workspace". GC Overhead limit exceeded