title: node - invalid array length
body: <p>I'm using node v0.12.4.
  When I run the following code with <code>node --max-old-space-size=8192 test.js</code> it gives me the error <code>FATAL ERROR: invalid array length Allocation failed - process out of memory</code></p>
  
  <pre><code>var a = new Array(200000000);
  console.log(a.length);
  </code></pre>
  
  <p>However if I change the size to 300000000 I don't get any error. What's going on here? Is there some command line argument aside from <code>--max-old-space-size</code> I need to change?</p>