mirror of
https://github.com/apache/superset.git
synced 2024-09-17 11:09:47 -04:00
Use smaller size for node max_old_space_size (#1679)
This makes the difference from being killed by OOM on a 8GB machine or working.
This commit is contained in:
parent
205928e6df
commit
16aba517e4
@ -11,7 +11,7 @@
|
||||
"test": "mocha --require ignore-styles --compilers js:babel-core/register --require spec/helpers/browser.js --recursive spec/**/*_spec.*",
|
||||
"cover": "babel-node ./node_modules/.bin/istanbul cover _mocha -- --require spec/helpers/browser.js --recursive spec/**/*_spec.*",
|
||||
"dev": "NODE_ENV=dev webpack --watch --colors --progress --debug --output-pathinfo --source-map",
|
||||
"prod": "NODE_ENV=production node --max_old_space_size=8192 ./node_modules/webpack/bin/webpack.js -p --colors --progress",
|
||||
"prod": "NODE_ENV=production node --max_old_space_size=4096 ./node_modules/webpack/bin/webpack.js -p --colors --progress",
|
||||
"build": "NODE_ENV=production webpack --colors --progress",
|
||||
"lint": "eslint --ignore-path=.eslintignore --ext .js,.jsx ."
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user