From 2878449fc52e0dc579f8f2545c6d6548e45437b2 Mon Sep 17 00:00:00 2001 From: Alexander Oprisnik Date: Mon, 27 Jun 2016 07:13:31 -0700 Subject: [PATCH] CircleCI: More memory for Gradle 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 https://github.com/facebook/fresco/pull/1323 Reviewed By: kirwan Differential Revision: D3488250 Pulled By: oprisnik fbshipit-source-id: 9ade9310b6a43896e9b1421ecb15f11b59ffcc14 --- circle.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/circle.yml b/circle.yml index 24af511643..911eb30873 100644 --- a/circle.yml +++ b/circle.yml @@ -5,6 +5,7 @@ general: machine: environment: PATH: $ANDROID_NDK:$PATH + GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"' test: override: - ./gradlew assembleDebug -PdisablePreDex