You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by xi...@apache.org on 2023/04/07 11:46:36 UTC

[storm] branch master updated: [STORM-3908] Increase heap memory for MAVEN_OPTS used in github actions

This is an automated email from the ASF dual-hosted git repository.

xinwang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/storm.git


The following commit(s) were added to refs/heads/master by this push:
     new 4579d8d04 [STORM-3908] Increase heap memory for MAVEN_OPTS used in github actions
     new 1724cd1f1 Merge pull request #3533 from bipinprasad/storm-3908
4579d8d04 is described below

commit 4579d8d04b39ac1c01c29f0cd1b7b7d3590e27db
Author: bipinprasad <bi...@apache.org>
AuthorDate: Wed Apr 5 19:13:18 2023 -0700

    [STORM-3908] Increase heap memory for MAVEN_OPTS used in github actions
---
 dev-tools/gitact/gitact-script.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-tools/gitact/gitact-script.sh b/dev-tools/gitact/gitact-script.sh
index 2178ad27f..69203b146 100755
--- a/dev-tools/gitact/gitact-script.sh
+++ b/dev-tools/gitact/gitact-script.sh
@@ -20,7 +20,7 @@ set -x
 
 STORM_SRC_ROOT_DIR=$1
 
-TRAVIS_SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
+THIS_SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
 
 cd "${STORM_SRC_ROOT_DIR}" || (echo "Cannot cd to ${STORM_SRC_ROOT_DIR}"; exit 1)
 
@@ -50,8 +50,8 @@ then
 fi
 # We should be concerned that Travis CI could be very slow because it uses VM
 export STORM_TEST_TIMEOUT_MS=150000
-# Travis only has 3GB of memory, lets use 1GB for build, and 1.5GB for forked JVMs
-export MAVEN_OPTS="-Xmx1024m"
+# Github Action Runner only has 7GB of memory, lets use 1.5GB for build, with enough stack to run tests
+export MAVEN_OPTS="-Xmx1536m"
 
 mvn --batch-mode test -fae -Pnative,all-tests,examples,externals -Prat -pl "$TEST_MODULES"
 BUILD_RET_VAL=$?
@@ -59,7 +59,7 @@ BUILD_RET_VAL=$?
 for dir in $(find . -type d -and -wholename \*/target/\*-reports)
 do
   echo "Looking for errors in ${dir}"
-  python3 "${TRAVIS_SCRIPT_DIR}"/print-errors-from-test-reports.py "${dir}"
+  python3 "${THIS_SCRIPT_DIR}"/print-errors-from-test-reports.py "${dir}"
 done
 
 exit ${BUILD_RET_VAL}