I am designing an android application with eclipse. When I try to run I see this window:
The message is
"Unable to execute dex: GC overhead limit exceeded GC overhead limit exceeded"
Already asked and already solved, more than once.. BTW you should edit the eclipse.ini file and give more Virtual Memory to it!
So, for example:
--launcher.XXMaxPermSize
256M
-showsplash
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx768m
Those are my default values.. try with something like that
--launcher.XXMaxPermSize
512M
-showsplash
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms512m
-Xmx1024m
Look here for more details: Unable to execute dex: GC overhead limit exceeded in Eclipse
I also find useful when something like GC overhead problems happen this solution: https://stackoverflow.com/a/20461943/3443362 If you don't have so much RAM on your PC/laptop this last suggestion is musch more better..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With