From d37a032cb366b2dd3e618f01bc90c92bbbd9c6f8 Mon Sep 17 00:00:00 2001 From: Alban Bailly <130582365+abailly-akamai@users.noreply.github.com> Date: Fri, 11 Oct 2024 16:35:41 -0400 Subject: [PATCH] change: [M#-8735] - Increase Cloud Manager `node.js` memory allocation (development jobs) (#11084) * Increase CM nodejs and TS memory limit * Added changeset: Increase Cloud Manager node.js memory allocation (development jobs) --- .../manager/.changeset/pr-11084-changed-1728577518914.md | 5 +++++ packages/manager/package.json | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 packages/manager/.changeset/pr-11084-changed-1728577518914.md diff --git a/packages/manager/.changeset/pr-11084-changed-1728577518914.md b/packages/manager/.changeset/pr-11084-changed-1728577518914.md new file mode 100644 index 00000000000..9fc53b987bf --- /dev/null +++ b/packages/manager/.changeset/pr-11084-changed-1728577518914.md @@ -0,0 +1,5 @@ +--- +"@linode/manager": Changed +--- + +Increase Cloud Manager node.js memory allocation (development jobs) ([#11084](https://github.com/linode/manager/pull/11084)) diff --git a/packages/manager/package.json b/packages/manager/package.json index 468da7d863f..3df82bda7b7 100644 --- a/packages/manager/package.json +++ b/packages/manager/package.json @@ -86,7 +86,7 @@ "zxcvbn": "^4.4.2" }, "scripts": { - "start": "concurrently --raw \"vite\" \"tsc --watch --preserveWatchOutput\"", + "start": "concurrently --raw \"NODE_OPTIONS='--max-old-space-size=4096' vite\" \"NODE_OPTIONS='--max-old-space-size=4096' tsc --watch --preserveWatchOutput\"", "start:expose": "concurrently --raw \"vite --host\" \"tsc --watch --preserveWatchOutput\"", "start:ci": "vite preview --port 3000 --host", "lint": "yarn run eslint . --ext .js,.ts,.tsx --quiet", @@ -95,7 +95,7 @@ "precommit": "lint-staged && yarn typecheck", "test": "vitest run", "test:debug": "node --inspect-brk scripts/test.js --runInBand", - "storybook": "storybook dev -p 6006", + "storybook": "NODE_OPTIONS='--max-old-space-size=4096' storybook dev -p 6006", "storybook-static": "storybook build -c .storybook -o .out", "build-storybook": "storybook build", "cy:run": "cypress run -b chrome",