On Friday, December 5, 2014 9:20:20 PM UTC-5, Xavier Ducrohet wrote:
>
> if dx is running out of memory you can change its memory allocation (it 
> runs in its own VM so the configuration for Gradle doesn't matter.).
>
>
> http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-dex-options
>

Adding
  javaMaxHeapSize "2048M"
to dexOptions fixed it.  That explains why cranking up the VM memory 
options made no difference...I had even tried 4G of memory :-)

Thanks Xavier.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to