From 61ee331f11166a05e960400f677a8d726d3c327f Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Sun, 27 Sep 2020 00:07:40 -0700 Subject: [PATCH] [build] Double gradle build max heap size to 2G (#2689) The Gradle heap size is currently set to 1G, and that's becoming too small for our Linux build. Developers who want to override this without editing the project's build.gradle can override these settings with gradle.properties in GRADLE_USER_HOME (see https://docs.gradle.org/current/userguide/build_environment.html for details). --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dacb2af56e..597b68290b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: build-options: "-Ponlylinuxaarch64bionic" - container: wpilib/ubuntu-base:18.04 artifact-name: Linux - build-options: "" + build-options: "-Dorg.gradle.jvmargs=-Xmx2g" name: "Build - ${{ matrix.artifact-name }}" runs-on: ubuntu-latest container: ${{ matrix.container }}