Open skirankumar7 opened 5 years ago
Your build seems to already need a lot of extra memory, so try adding --max-old-space-size=12288
to the webpack-dashboard script maybe something like:
"start-webpack": "webpack-dashboard -- node --max-old-space-size=12288 webpack-server.js",
If that doesn't resolve the issue, please see if you can put together a minimal repository with install + error reproduction steps so that we can jump in and reproduce your issue. Thanks!
ISSUE:
_"scripts": { "make-dll": "webpack -p --config webpack.dll.config.js --progress --profile --mode production", "start": "node bin/www", "start-webpack": "webpack-dashboard -- node webpack-server.js", "build": "webpack --config webpack.prod.config.js --progress --profile ", "webpack": "node --max-old-space-size=12288 nodemodules/webpack/bin/webpack.js" },
====================================================================
ERROR:
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory 1: node_module_register 2: v8::internal::FatalProcessOutOfMemory 3: v8::internal::FatalProcessOutOfMemory 4: v8::internal::Factory::NewRawTwoByteString
============================================================== webpack-dev.config.js
More Details
echo $TERM
?