Add this to your android closure:
dexOptions {
incremental true
javaMaxHeapSize "4g"
}
This solved all the GC overhead issues for my team, and we have substantially more dependencies. Previously we would see that error on almost every build.
--
You received this message because you are subscribed to the Google Groups "adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adt-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "adt-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adt-dev/r4p-sBLl7DQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adt-dev+u...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "adt-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adt-dev/r4p-sBLl7DQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adt-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.