Skip to content

Commit

Permalink
CircleCI: More memory for Gradle
Browse files Browse the repository at this point in the history
Summary:
Added GRADLE_OPTS according to https://circleci.com/docs/oom/ to give Gradle more memory, which fixes the build, see https://circleci.com/gh/oprisnik/fresco/30
Closes facebook#1323

Reviewed By: kirwan

Differential Revision: D3488250

Pulled By: oprisnik

fbshipit-source-id: 9ade9310b6a43896e9b1421ecb15f11b59ffcc14
  • Loading branch information
oprisnik authored and Facebook Github Bot 0 committed Jun 27, 2016
1 parent dd9130d commit 2878449
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ general:
machine:
environment:
PATH: $ANDROID_NDK:$PATH
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"'
test:
override:
- ./gradlew assembleDebug -PdisablePreDex
Expand Down

0 comments on commit 2878449

Please sign in to comment.