increase upper limit of heap memory

otherwise
./gradlew clean assemble --refresh-dependencies

threw

e: java.lang.OutOfMemoryError: GC overhead limit exceeded

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2024-07-24 12:50:52 +02:00
parent 60944c2312
commit d8e349d0b0
No known key found for this signature in database
GPG key ID: C793F8B59F43CE7B

View file

@ -17,7 +17,7 @@
# Specifies the JVM arguments used for the daemon process. # Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings. # The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-XX:MaxHeapSize\=2048m -Xmx2048m org.gradle.jvmargs=-XX:MaxHeapSize\=4096m -Xmx4096m
org.gradle.dependency.verification.console=verbose org.gradle.dependency.verification.console=verbose
android.useAndroidX=true android.useAndroidX=true