title: Getting GC, process out of memory error while bundling via webpack
body: <p>Getting following error when bundling my project with webpack.
  When I have only a few chunk (split) points (require.ensure ones) then it runs okay, but when I increase the split points following error comes.</p>
  
  <pre><code>&lt;--- Last few GCs ---&gt;
  
    124541 ms: Mark-sweep 1379.0 (1457.1) -&gt; 1378.9 (1457.1) MB, 891.6 / 0 ms [allocation failure] [GC in old space requested].
    125398 ms: Mark-sweep 1378.9 (1457.1) -&gt; 1378.9 (1457.1) MB, 857.0 / 0 ms [allocation failure] [GC in old space requested].
    126289 ms: Mark-sweep 1378.9 (1457.1) -&gt; 1378.9 (1457.1) MB, 890.5 / 0 ms [last resort gc].
    127136 ms: Mark-sweep 1378.9 (1457.1) -&gt; 1378.9 (1457.1) MB, 847.1 / 0 ms [last resort gc].
  
  
  &lt;--- JS stacktrace ---&gt;
  
  ==== JS stack trace =========================================
  
  Security context: 0x18342c237339 &lt;JS Object&gt;
      1: get [/path/node_modules/babel-traverse/lib/path/index.js:~75] [pc=0x126413012f98] (this=0x30cb87230cc1 &lt;JS Function NodePath (SharedFunctionInfo 0xa7d7f38b8d9)&gt;,_ref2=0x2b8f0305a311 &lt;an Object with map 0x365041d49801&gt;)
      2: node [/path/node_modules/babel-traverse/lib/index.js:~119] [pc=0x126412dd40f5] (...
  
  FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory
  Abort trap: 6
  </code></pre>