Skip to content

Commit

Permalink
Merge pull request #43 from italia/fix/v2.2.18
Browse files Browse the repository at this point in the history
fix: 24GB on scan item
  • Loading branch information
simone-amadio-acn authored Dec 11, 2023
2 parents ffcdc2c + 9bfdd33 commit 5fbf52c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion command/scanManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ dbSM
}

const command =
`node --max-old-space-size=12288 --no-warnings --experimental-modules --es-module-specifier-resolution=node --loader ts-node/esm ${__dirname}/scanManagerItem${__filenameExtension} --jobId ` +
`node --max-old-space-size=24567 --no-warnings --experimental-modules --es-module-specifier-resolution=node --loader ts-node/esm ${__dirname}/scanManagerItem${__filenameExtension} --jobId ` +
job.data.id;

console.log("[SCAN MANAGER] EXECUTING: ", command);
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "crawler-handler",
"version": "2.2.17",
"version": "2.2.18",
"description": "Handler per il validatore di comuni e scuole",
"main": "index.js",
"type": "module",
Expand All @@ -10,7 +10,7 @@
"scripts": {
"dist-webserver": "node --max-old-space-size=8192 --no-warnings --experimental-modules --es-module-specifier-resolution=node ./dist/server.js",
"dist-queue-manager": "node --max-old-space-size=8192 --no-warnings --experimental-modules --es-module-specifier-resolution=node ./dist/command/queueManager.js",
"dist-scan-manager": "node --max-old-space-size=8192 --no-warnings --experimental-modules --es-module-specifier-resolution=node ./dist/command/scanManager.js",
"dist-scan-manager": "node --max-old-space-size=4096 --no-warnings --experimental-modules --es-module-specifier-resolution=node ./dist/command/scanManager.js",
"dist-PA2026-manager": "node --max-old-space-size=8192 --no-warnings --experimental-modules --es-module-specifier-resolution=node ./dist/command/PA2026Manager.js",
"ts-webserver": "node --max-old-space-size=8192 --no-warnings --experimental-modules --es-module-specifier-resolution=node --loader ts-node/esm ./server.ts",
"ts-queue-manager": "node --max-old-space-size=8192 --no-warnings --experimental-modules --es-module-specifier-resolution=node --loader ts-node/esm ./command/queueManager.ts",
Expand Down

0 comments on commit 5fbf52c

Please sign in to comment.