From 28e73d12321d5ad42d4601cf950b192431912ede Mon Sep 17 00:00:00 2001 From: younglim Date: Mon, 14 Oct 2024 17:49:54 +0800 Subject: [PATCH] Increase max memory allocation to 6GB to support insanely large scans --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 070b6387..3ca9ee80 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "build:watch": "npm run build -- --watch", "copyfiles": "node ./scripts/copyFiles.js src/static/ejs dist/static && node ./scripts/copyFiles.js src/constants/errorMeta.json dist/constants && node ./scripts/copyFiles.js exclusions.txt dist", "start": "node dist/index.js", - "cli": "node dist/cli.js", + "cli": "node --max-old-space-size=6144 dist/cli.js", "test": "node --experimental-vm-modules ./node_modules/.bin/jest", "lint": "eslint . --report-unused-disable-directives --max-warnings 0", "lint:fix": "eslint . --fix --report-unused-disable-directives --max-warnings 0"