Try to workaround OOM errors and the runners dying (#3013)
* Try to workaround OOM errors and the runner dying * Some more tweaks: - Add `-XX:MaxMetaspaceSize` (https://github.com/gradle/gradle/issues/19750) - Remove `-PpreDexEnable` as it's deprecated and no longer used. - Remove `--max-workers` as gradle will automatically use the optimal amount. * Remove `--max-workers` in recording screenshots too
This commit is contained in:
parent
55a1ac4bb5
commit
c9e0db26d8
11 changed files with 34 additions and 21 deletions
|
|
@ -62,10 +62,10 @@ if [[ -z ${REPO} ]]; then
|
|||
fi
|
||||
|
||||
echo "Deleting previous screenshots"
|
||||
./gradlew removeOldSnapshots --stacktrace -PpreDexEnable=false --max-workers 4 --warn
|
||||
./gradlew removeOldSnapshots --stacktrace --warn
|
||||
|
||||
echo "Record screenshots"
|
||||
./gradlew recordPaparazziDebug --stacktrace -PpreDexEnable=false --max-workers 4 --warn
|
||||
./gradlew recordPaparazziDebug --stacktrace --warn
|
||||
|
||||
echo "Committing changes"
|
||||
git config http.sslVerify false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue