Skip to content

Commit 85852af

Browse files
committed
Constrain resources to prevent being OOM killed.
# Conflicts: # .circleci/config.yml
1 parent 7e9d2f2 commit 85852af

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414

1515
- run:
1616
name: Run Tests
17-
command: ./gradlew clean check --parallel --stacktrace
17+
command: GRADLE_OPTS="-Dorg.gradle.jvmargs=-Xmx1G -Xms512M" ./gradlew clean check --parallel --stacktrace --no-daemon --max-workers=3
1818

1919
- run:
2020
name: Verify Version Scan
21-
command: ./gradlew verifyVersionScan --parallel --stacktrace
21+
command: ./gradlew verifyVersionScan --parallel --stacktrace --no-daemon
2222

2323
- save_cache:
2424
paths:
@@ -58,5 +58,5 @@ jobs:
5858
-PbintrayUser=${BINTRAY_USER} \
5959
-PbintrayApiKey=${BINTRAY_API_KEY} \
6060
-PbuildInfo.build.number=${CIRCLE_BUILD_NUM} \
61-
artifactoryPublish --max-workers=1 --stacktrace
61+
artifactoryPublish --max-workers=1 --stacktrace --no-daemon
6262
fi

0 commit comments

Comments
 (0)