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:
parent
fc7321e049
commit
f9c795cfc4
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue