Skip to content

Commit

Permalink
Merge pull request #12190 from nextcloud/fix/ci-failing-due-to-not-en…
Browse files Browse the repository at this point in the history
…ough-memory

Fix GradleProperties for CI/CD
  • Loading branch information
AndyScherzinger authored Nov 20, 2023
2 parents ff25cf9 + ce99a3e commit dc3a833
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,10 @@ android.nonTransitiveRClass=false
android.nonFinalResIds=false
#android.debug.obsoleteApi=true

# Minimum max heap space to get reliable builds
org.gradle.jvmargs=-Xmx1g

# JVM arguments to optimize heap usage, enable heap dump on out-of-memory errors, and set the file encoding
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
kotlin.daemon.jvmargs=-Xmx4096m
org.gradle.caching=true
org.gradle.parallel=true
org.gradle.configureondemand=true

0 comments on commit dc3a833

Please sign in to comment.