From ea9a2e0696436f8c1645e9b218e333a08b23ab64 Mon Sep 17 00:00:00 2001 From: Raymond Cheng Date: Thu, 16 Jan 2025 17:48:50 -0800 Subject: [PATCH] fix: add max memory in github action for validation (#630) --- .github/workflows/validate/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validate/action.yml b/.github/workflows/validate/action.yml index ddaf078c6..14f40b5d2 100644 --- a/.github/workflows/validate/action.yml +++ b/.github/workflows/validate/action.yml @@ -54,7 +54,8 @@ runs: - name: Run validation shell: bash run: | - cd oso/ops/external-prs && pnpm tools ossd validate-pr --duckdb-memory-limit 4GB ${{ inputs.pr }} ${{ inputs.sha }} ../../../main ../../../pr + export NODE_OPTIONS="--max_old_space_size=8192" + cd oso/ops/external-prs && pnpm tools ossd validate-pr --duckdb-memory-limit 8GB ${{ inputs.pr }} ${{ inputs.sha }} ../../../main ../../../pr env: PR_TOOLS_REPO: ${{ github.repository }} PR_TOOLS_MAINNET_RPC_URL: ${{ inputs.mainnet_rpc_url }}