From ec77331ddb3b66748e3f83e239bd48b8b4c14f75 Mon Sep 17 00:00:00 2001 From: deityhub Date: Fri, 17 Dec 2021 15:45:25 +0100 Subject: [PATCH] [skip-ci] adjust space size to 14336 megabyte --- application-scanner/package.json | 2 +- backend/package.json | 2 +- container-scanner/package.json | 2 +- lighthouse-runner/package.json | 2 +- realtime/package.json | 2 +- script-runner/package.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/application-scanner/package.json b/application-scanner/package.json index 1ff77c196a..c17fc4f38f 100644 --- a/application-scanner/package.json +++ b/application-scanner/package.json @@ -5,7 +5,7 @@ "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "start": "node --max-http-header-size=80000 index.js", + "start": "node --max-old-space-size=14336 --max-http-header-size=80000 index.js", "dev": "node --inspect=0.0.0.0 --max-http-header-size=80000 index.js", "audit": "npm audit --audit-level=low", "dep-check": "depcheck ./ --skip-missing=true" diff --git a/backend/package.json b/backend/package.json index b43f9622c1..92025d3fab 100755 --- a/backend/package.json +++ b/backend/package.json @@ -72,7 +72,7 @@ "winston-slack-webhook-transport": "^2.0.1" }, "scripts": { - "start": "node --max-old-space-size=4096 server.js", + "start": "node --max-old-space-size=14336 server.js", "dev": "cross-env NODE_ENV=development nodemon --inspect=0.0.0.0 server.js --ignore greenlock.d/* -- --staging", "test": "cross-env NODE_ENV=development nyc --reporter=lcov --reporter=text mocha --exit test/index.js", "enterprise-test": "cross-env NODE_ENV=development nyc --reporter=lcov --reporter=text mocha --exit test/enterprise.js", diff --git a/container-scanner/package.json b/container-scanner/package.json index f00fcd206f..f8d23c43a5 100644 --- a/container-scanner/package.json +++ b/container-scanner/package.json @@ -4,7 +4,7 @@ "description": "A Container Security Scanner", "main": "index.js", "scripts": { - "start": "node --max-http-header-size=80000 index.js", + "start": "node --max-old-space-size=14336 --max-http-header-size=80000 index.js", "test": "echo \"Error: no test specified\" && exit 1", "dev": "node --inspect=0.0.0.0 --max-http-header-size=80000 index.js", "audit": "npm audit --audit-level=low", diff --git a/lighthouse-runner/package.json b/lighthouse-runner/package.json index fc7cfcf5a8..4d633e6991 100644 --- a/lighthouse-runner/package.json +++ b/lighthouse-runner/package.json @@ -4,7 +4,7 @@ "description": "Lighthouse Runner for Url Monitor", "main": "index.js", "scripts": { - "start": "node --max-http-header-size=80000 index.js", + "start": "node --max-old-space-size=14336 --max-http-header-size=80000 index.js", "dev": "nodemon --inspect=0.0.0.0 --max-http-header-size=80000 index.js", "test": "echo \"Error: no test specified\" && exit 1", "audit": "npm audit --audit-level=low", diff --git a/realtime/package.json b/realtime/package.json index a783fb1672..853d114a2c 100644 --- a/realtime/package.json +++ b/realtime/package.json @@ -4,7 +4,7 @@ "description": "A project to handle all realtime processing for OneUptime", "main": "index.js", "scripts": { - "start": "node --max-old-space-size=4096 index.js", + "start": "node --max-old-space-size=14336 index.js", "dev": "cross-env NODE_ENV=development nodemon --inspect=0.0.0.0 index.js", "audit": "npm audit --audit-level=low", "dep-check": "depcheck ./ --skip-missing=true" diff --git a/script-runner/package.json b/script-runner/package.json index a9926f49f2..9753ca98f1 100644 --- a/script-runner/package.json +++ b/script-runner/package.json @@ -4,7 +4,7 @@ "description": "automation script runner", "main": "index.js", "scripts": { - "start": "node index.js", + "start": "node --max-old-space-size=14336 index.js", "dev": "nodemon --inspect=0.0.0.0 index.js", "test": "echo \"Error: no test specified\" && exit 1", "audit": "npm audit --audit-level=low"