Today I randomly started getting the following error when trying to compile my Adobe Air App from InteliJ Idea.
Failed to package AIR application FARQAndroidFree.apk:
dx tool failed:
UNEXPECTED TOP-LEVEL ERROR:
java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.util.Arrays.copyOf(Arrays.java:3181)
at java.util.ArrayList.grow(ArrayList.java:261)
at java.util.ArrayList.ensureExplicitCapacity(ArrayList.java:235)
at java.util.ArrayList.ensureCapacityInternal(ArrayList.java:227)
at java.util.ArrayList.add(ArrayList.java:458)
at com.android.dx.ssa.Dominators$DfsWalker.visitBlock(Dominators.java:263)
at com.android.dx.ss...
[Full error message]
[ADT command line]
I'm using the Adobe AIR SDK 28
Try increasing the amount of memory available to the Java runtime used by IntelliJ to package your application.
You will find this in:
Try somewhere in the
512 - 1024 Mb
mark.