Gradle Max Heap Increase (#896)

* Increase Gradle Max Heap

As advised by the Google engineering team this could be the way to bypass the OOM trouble.
This commit is contained in:
Honza Rychnovský 2023-07-04 13:28:03 +02:00 committed by GitHub
parent fc7321e049
commit f9c795cfc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,9 @@
# Speed up builds. Keep these flags here for quick debugging of issues.
org.gradle.caching=true
org.gradle.configureondemand=false
org.gradle.jvmargs=-Xmx3g -XX:MaxMetaspaceSize=1024m
# We use increased amount of heap size here to bypass the OOM exception while building the project with ./gradlew
# build as described in https://github.com/zcash/kotlin-bip39/issues/201
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=2g
org.gradle.parallel=true
org.gradle.vfs.watch=true