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 ..."