From 5408f45b525d53b95375db47281cab410c239113 Mon Sep 17 00:00:00 2001 From: Spencer Date: Thu, 5 Mar 2020 15:59:33 -0700 Subject: [PATCH] expand max-old-space-size for xpack jest tests (#59455) * expand max-old-space-size for xpack jest tests * turns out we are already at 4GB * 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 b629e064b39b5..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 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 ""