File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ concurrency:
2727jobs :
2828 analysis :
2929 runs-on : ubuntu-latest
30- timeout-minutes : 60
3130 steps :
3231 - name : Disabled on forks
3332 if : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository }}
@@ -68,10 +67,13 @@ jobs:
6867 - name : Run analysis wrapper
6968 env :
7069 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
70+
71+ # Memory that is set in jvmargs must be wisely chosen.
72+ # E.g. with -Xmx5g and -Xmx1g android talk builds always failed with "The operation was canceled". -Xmx3g seems to work so far.
7173 run : |
7274 mkdir -p "$HOME/.gradle"
7375 {
74- echo "org.gradle.jvmargs=-Xmx5g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:MaxMetaspaceSize=1g"
76+ echo "org.gradle.jvmargs=-Xmx3g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:MaxMetaspaceSize=1g"
7577 echo "org.gradle.configureondemand=true"
7678 echo "kapt.incremental.apt=true"
7779 } > "$HOME/.gradle/gradle.properties"
You canβt perform that action at this time.
0 commit comments