Unable to execute dex: GC overhead limit exceeded

Unable to execute dex: GC overhead limit exceeded

eclipse

Unable to execute dex: GC overhead limit exceeded error in Eclipse can be  fixed by changing values in eclipse.ini file.

openFile
–launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
–launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms512m
-Xmx1024m

eclipse.ini

arstech