diff --git a/public/electron/scanManager.js b/public/electron/scanManager.js index 8806c9b..11db1f1 100644 --- a/public/electron/scanManager.js +++ b/public/electron/scanManager.js @@ -133,7 +133,7 @@ const validateUrlConnectivity = async (scanDetails) => { const response = await new Promise(async (resolve) => { const check = spawn( "node", - [`${enginePath}/dist/cli.js`, ...getScanOptions(scanDetails)], + [`--max-old-space-size=6144`,`${enginePath}/dist/cli.js`, ...getScanOptions(scanDetails)], { cwd: resultsPath, env: {