Skip to content

Commit

Permalink
Increase memory to 8GB (2GB seems to be the default for Node 16)
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-fleck-at committed Apr 12, 2024
1 parent 1d83151 commit 00db38d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion applications/browser-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"scripts": {
"clean": "theia clean && rimraf lib && rimraf src-gen",
"download:plugins": "theia download:plugins",
"prepare": "theia build --mode development && yarn download:plugins",
"prepare": "cross-env NODE_OPTIONS=--max_old_space_size=8192 theia build --mode development && yarn download:plugins",
"rebuild": "theia rebuild:browser --cacheRoot ../..",
"start": "yarn rebuild && theia start --plugins=local-dir:plugins",
"test": "jest --passWithNoTests",
Expand Down
2 changes: 1 addition & 1 deletion applications/electron-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"main": "scripts/electron-main.js",
"scripts": {
"build": "yarn bundle",
"bundle": "yarn rebuild && theia build --mode development",
"bundle": "yarn rebuild && cross-env NODE_OPTIONS=--max_old_space_size=8192 theia build --mode development",
"clean": "theia clean && rimraf lib && rimraf src-gen",
"deploy": "rimraf dist && electron-builder -c.mac.identity=null --publish always",
"download:plugins": "theia download:plugins",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"e2e-tests"
],
"scripts": {
"build": "lerna run build",
"build": "cross-env NODE_OPTIONS=--max_old_space_size=8192 lerna run build",
"clean": "lerna run clean && rimraf node_modules",
"format": "yarn prettier-eslint --write '**/*.{ts,tsx,js,cjs,mjs,css}' '**/package.json'",
"postinstall": "theia check:theia-version",
Expand Down

0 comments on commit 00db38d

Please sign in to comment.