2

I needed to create new project of my existing previous. I copied src, res and manifest but when I import external libs (BugSense, AChartEngine) it wont start and I get

[2014-01-26 14:58:01 - Dex Loader] Unable to execute dex: GC overhead limit exceeded [2014-01-26 14:58:01 - MyApp] Conversion to Dalvik format failed: Unable to execute dex: GC overhead limit exceeded 

When I uncheck Android private libraries in Java Build Path / Order and Export it runs in mobile device but it crashes on:

java.lang.NoClassDefFoundError: com.bugsense.trace.BugSenseHandler 

It worked well before.

2
  • 2
    You could try increasing Eclipse's heap space and see if that helps: wiki.eclipse.org/… Commented Jan 26, 2014 at 14:38
  • 1
    It helps but I dont know why it suddenly needs so much memory Commented Jan 26, 2014 at 16:04

1 Answer 1

16

go to your eclipse folder and find a file called eclipse.ini and change this

-Xms512m -Xmx1024m 
Sign up to request clarification or add additional context in comments.

1 Comment

Accepted answer, although on Mac OS, eclipse.ini is not directly visible, but under "package contents" of the Eclipse executable. Reference: wiki.eclipse.org/Eclipse.ini#-vm_value:_Mac_OS_X_Example

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.