title: segmentation fault 11 in C++ on Mac
body: <p>When I try to run this</p>
  
  <pre><code>int N=10000000;
  short res[N];
  </code></pre>
  
  <p>I get segmentation fault 11</p>
  
  <p>when I change to </p>
  
  <pre><code>int N=1000000;
  short res[N];
  </code></pre>
  
  <p>it works fine</p>