Error:- GC overhead limit exceeded in Eclipse
When it occur;-
Eclipse will throw "GC overhead limit exceeded in eclipse" error when it runs on the out of memory.And one more thing is when you want to run the eclipse on 64bit machine it requires more space .
To fix this problem we need to allocate more memory for eclipse.
How to Fix:
Go to the your root folder of Eclipse. (where you can installed in your system) .
Open that folder.
In that folder find the eclipse.ini file.
The file looks like below
-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.v20120522-1813
-product
org.eclipse.epp.package.java.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
-Xms40m
-Xmx1384m
Chang the following lines as
-Xms40m AS -Xms512m
-Xmx384m AS -Xmx1024m
Restart the eclipse.problem will resolved.
----------------------------------------*Hope Help Full*------------------------------------------------
No comments:
Post a Comment