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",