File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -135,6 +135,7 @@ default:
135135 MAVEN_OPTS : " -Xms64M -Xmx512M"
136136 GRADLE_WORKERS : 2
137137 GRADLE_MEM : 2560M
138+ GRADLE_MEM_MAX : 4096M
138139 KUBERNETES_CPU_REQUEST : 8
139140 KUBERNETES_MEMORY_REQUEST : 8Gi
140141 KUBERNETES_MEMORY_LIMIT : 8Gi
@@ -180,7 +181,7 @@ default:
180181 - |
181182 # replace maven central part by MAVEN_REPOSITORY_PROXY in .mvn/wrapper/maven-wrapper.properties
182183 sed -i "s|https://repo.maven.apache.org/maven2/|$MAVEN_REPOSITORY_PROXY|g" .mvn/wrapper/maven-wrapper.properties
183- - export GRADLE_OPTS="-Dorg.gradle.jvmargs='-Xmx$GRADLE_MEM -Xms$GRADLE_MEM -XX:ErrorFile=/tmp/hs_err_pid%p.log -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp'"
184+ - export GRADLE_OPTS="-Dorg.gradle.jvmargs='-Xmx$GRADLE_MEM -Xms$GRADLE_MEM_MAX -XX:ErrorFile=/tmp/hs_err_pid%p.log -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp'"
184185 - export GRADLE_ARGS=" --build-cache --stacktrace --no-daemon --parallel --max-workers=$GRADLE_WORKERS"
185186 - *normalize_node_index
186187 # for weird reasons, gradle will always "chmod 700" the .gradle folder
You can’t perform that action at this time.
0 commit comments