title: Javascript Increase max array size
body: <p>I am trying to create an array of size <code>2^32 = 4294967296</code>, because I am trying to get all the prime numbers till 2^32 by running the sieve algorithm. However any operation in that array I get the following error:</p>
  <blockquote>
  <p>FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory</p>
  <p>Abort trap: 6</p>
  </blockquote>
  <p>What can I do in above situation?</p>