title: increasing stack reserve size doesn't prevent stack overflow
body: <p>I would like to use a large array on the stack. However I keep on getting stack overflow although I changed the stack reserve size.
  For example:</p>
  
  <pre><code>int main()
  {
      int a[5000000];
      return 0;
  }
  </code></pre>
  
  <p>and in visual studio 2012: <code>Properties -&gt; Linker -&gt; System -&gt; Stack reserve size: 10000000</code></p>
  
  <p>What could cause it?</p>