From 95339daadb2ba525e2fd995c162ea860da91cf52 Mon Sep 17 00:00:00 2001 From: spalger Date: Thu, 5 Mar 2020 10:58:34 -0700 Subject: [PATCH 1/3] expand max-old-space-size for xpack jest tests --- test/scripts/jenkins_xpack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/scripts/jenkins_xpack.sh b/test/scripts/jenkins_xpack.sh index b629e064b39b5..20194e82fafe0 100755 --- a/test/scripts/jenkins_xpack.sh +++ b/test/scripts/jenkins_xpack.sh @@ -11,7 +11,7 @@ if [[ -z "$CODE_COVERAGE" ]] ; then echo " -> Running jest tests" cd "$XPACK_DIR" - checks-reporter-with-killswitch "X-Pack Jest" node scripts/jest --ci --verbose --detectOpenHandles + checks-reporter-with-killswitch "X-Pack Jest" node --max-old-space-size=2048 scripts/jest --ci --verbose --detectOpenHandles echo "" echo "" From 8b6da004e61766597e3ddcb3f65ef7c02a443987 Mon Sep 17 00:00:00 2001 From: spalger Date: Thu, 5 Mar 2020 14:47:12 -0700 Subject: [PATCH 2/3] turns out we are already at 4GB --- test/scripts/jenkins_xpack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/scripts/jenkins_xpack.sh b/test/scripts/jenkins_xpack.sh index 20194e82fafe0..ae651d849b98d 100755 --- a/test/scripts/jenkins_xpack.sh +++ b/test/scripts/jenkins_xpack.sh @@ -11,7 +11,7 @@ if [[ -z "$CODE_COVERAGE" ]] ; then echo " -> Running jest tests" cd "$XPACK_DIR" - checks-reporter-with-killswitch "X-Pack Jest" node --max-old-space-size=2048 scripts/jest --ci --verbose --detectOpenHandles + checks-reporter-with-killswitch "X-Pack Jest" node --max-old-space-size=8000 scripts/jest --ci --verbose --detectOpenHandles echo "" echo "" From 909e9f82a9b6fdf4e8d9a4eec56c2225559d6e90 Mon Sep 17 00:00:00 2001 From: spalger Date: Thu, 5 Mar 2020 15:30:07 -0700 Subject: [PATCH 3/3] limit to 6GB for now --- test/scripts/jenkins_xpack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/scripts/jenkins_xpack.sh b/test/scripts/jenkins_xpack.sh index ae651d849b98d..5055997df642a 100755 --- a/test/scripts/jenkins_xpack.sh +++ b/test/scripts/jenkins_xpack.sh @@ -11,7 +11,7 @@ if [[ -z "$CODE_COVERAGE" ]] ; then echo " -> Running jest tests" cd "$XPACK_DIR" - checks-reporter-with-killswitch "X-Pack Jest" node --max-old-space-size=8000 scripts/jest --ci --verbose --detectOpenHandles + checks-reporter-with-killswitch "X-Pack Jest" node --max-old-space-size=6144 scripts/jest --ci --verbose --detectOpenHandles echo "" echo ""