summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2024-08-08 03:06:17 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2024-08-08 03:32:11 +0530
commit4eb8f497d598c731a3628c7ae71a398ac462cfc0 (patch)
tree69747b19cdd9914a7eebfe980a64d47a9fcfa02c
parentb33af662df719cc67f11d11a96b5092d8af0ed5e (diff)
fix(build): reduce Gradle heap size
-rw-r--r--gradle.properties2
1 files changed, 1 insertions, 1 deletions
diff --git a/gradle.properties b/gradle.properties
index d1acfafb..0cc380ff 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -57,7 +57,7 @@ GROUP=com.github.android-password-store
SONATYPE_CONNECT_TIMEOUT_SECONDS=120
SONATYPE_CLOSE_TIMEOUT_SECONDS=1800
-org.gradle.jvmargs=-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
+org.gradle.jvmargs=-Xmx3072m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -Dkotlin.daemon.jvm.options=-Xmx1500m,Xms500m
# Version Catalog Update Plugin workarounds and fixes
systemProp.javax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl