Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Increase memory limit for NodeJS to 4G
  • Loading branch information
skateman committed Nov 30, 2018
1 parent 63986be commit cac7ad6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/webpack
Expand Up @@ -22,7 +22,7 @@ end

newenv = {
"NODE_PATH" => NODE_MODULES_PATH.shellescape,
"NODE_OPTIONS" => "--max_old_space_size=2048"
"NODE_OPTIONS" => "--max_old_space_size=4096"
}
cmdline = ["yarn", "run", "webpack", "--", "--config", WEBPACK_CONFIG] + ARGV

Expand Down
2 changes: 1 addition & 1 deletion bin/webpack-dev-server
Expand Up @@ -34,7 +34,7 @@ end
newenv = {
"NODE_PATH" => NODE_MODULES_PATH.shellescape,
"ASSET_HOST" => DEV_SERVER_HOST.shellescape,
"NODE_OPTIONS" => "--max_old_space_size=2048"
"NODE_OPTIONS" => "--max_old_space_size=4096"
}.freeze

cmdline = ["yarn", "run", "webpack-dev-server", "--", "--progress", "--color", "--config", WEBPACK_CONFIG] + ARGV
Expand Down

0 comments on commit cac7ad6

Please sign in to comment.