diff --git a/testing/test-vscode.sh b/testing/test-vscode.sh index 9e65e169f9..b5516e4dc5 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"