From 255910c7bddd9d89f95b7a6c1fd6ad4876c42e4b Mon Sep 17 00:00:00 2001 From: Bharathwaj G Date: Wed, 6 Sep 2023 21:36:12 +0530 Subject: [PATCH] setting heap to 600M Signed-off-by: Bharathwaj G --- .github/workflows/build.yml | 2 ++ .github/workflows/multi-node-test-workflow.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 60cf75d1..9e3a132d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,6 +30,8 @@ jobs: uses: actions/checkout@v2 - name: Build with Gradle run: ./gradlew build + env: + _JAVA_OPTIONS: -Xmx600M - name: Pull and Run Docker for security tests run: | version=`./gradlew properties -q | grep "opensearch_version:" | awk '{print $2}'` diff --git a/.github/workflows/multi-node-test-workflow.yml b/.github/workflows/multi-node-test-workflow.yml index 60bfa30b..07136a4d 100644 --- a/.github/workflows/multi-node-test-workflow.yml +++ b/.github/workflows/multi-node-test-workflow.yml @@ -28,6 +28,8 @@ jobs: uses: actions/checkout@v2 - name: Run integration tests with multi node config run: ./gradlew integTest -PnumNodes=5 + env: + _JAVA_OPTIONS: -Xmx600M - name: Run Backwards Compatibility Tests run: | echo "Running backwards compatibility tests ..."