Skip to content

Commit 339fcf5

Browse files
committed
Raise Node heap to 12GB for release builds
8GB was still hit during electron-builder's node_modules scan on Linux (heap peaked at 8072MB before OOM). 12GB gives headroom on the 16GB GitHub runners.
1 parent 6286ede commit 339fcf5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
os: ubuntu-latest
4949
command: npm run dist:linux
5050
env:
51-
NODE_OPTIONS: "--max-old-space-size=8192"
51+
NODE_OPTIONS: "--max-old-space-size=12288"
5252
CSC_IDENTITY_AUTO_DISCOVERY: "false"
5353
CSC_LINK: ${{ secrets.MACOS_CERTIFICATE_P12 }}
5454
CSC_KEY_PASSWORD: ${{ secrets.MACOS_CERTIFICATE_PASSWORD }}

0 commit comments

Comments
 (0)