Wednesday, June 14, 2017

Increase max heap size for Gradle test

To increase max heap size for Gradle test, add the following to your "build.gradle":

test {
    maxHeapSize = "4g"
}

Reference:
https://docs.gradle.org/3.4/dsl/org.gradle.api.tasks.testing.Test.html

No comments:

Post a Comment