title: webpack runs out of memory while compiling
body: <p>Hi I try to compile my react-js application with webpack and this command:</p>
  
  <p>"node_modules/.bin/cross-env NODE_ENV=production webpack -p --config webpack.config.js"</p>
  
  <p>so it trys to minify the node modules stuff. </p>
  
  <p>I got this error:</p>
  
  <pre><code>FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
  </code></pre>
  
  <p>is there a way to allocate more memory? I have 32GB that should not be the problem</p>
  
  <p>thanks</p>