title: unable to initialize double array
body: <p>I have 4 gig RAM and the following lines that throws a stackoverflow exception:</p>
  
  <pre><code>int main()
  {
       double X[4096*512], Y[4096*512], Z[4096*512];
       return 0;
  }
  </code></pre>
  
  <p>each double takes 8 bytes space, so my three arrays should be 3*4096*512*8/1024/1024 = 48 Mbyte big, can somebody explain the error or is 48 Mbyte too much to handle?</p>