From 8bf4c46b5d4ec3cbd3adbc91ee571321d21a0a5a Mon Sep 17 00:00:00 2001 From: Gagik Amaryan Date: Fri, 22 Nov 2024 14:03:03 +0100 Subject: [PATCH] fix(ci): allocate more memory to fix test_vscode MONGOSH-1892 (#2239) --- testing/test-vscode.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testing/test-vscode.sh b/testing/test-vscode.sh index 9e65e169f..b5516e4dc 100755 --- a/testing/test-vscode.sh +++ b/testing/test-vscode.sh @@ -15,6 +15,7 @@ cd vscode npm install --force rm -rf node_modules/@mongosh (cd node_modules && ln -s "$mongosh_root_dir/packages" @mongosh) -npm test +# This test can require a lot of memory so we bump the maximum size. +NODE_OPTIONS=--max-old-space-size=4096 npm test cd /tmp rm -rf "$test_root_dir"