Gradle build of Android app in VSTS failing after running out of memory

前端 未结 1 1534
刺人心
刺人心 2021-01-05 10:41

I have a gradle build in VSTS that is building an Android app and it\'s failing with the below error. Does the build machine really have to little memory or should I change

1条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-05 11:33

    After specifying parameter org.gradle.jvmargs=-Xmx2048M -XX\:MaxHeapSize\=32g in file gradle.properties the build started working.

    0 讨论(0)
提交回复
热议问题