title: What should I do when there is not enough memory to run my program in C?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/5040496/how-can-i-allocate-a-2d-array-using-double-pointers">How can I allocate a 2D array using double pointers?</a>  </p>
  </blockquote>
  
  
  
  <p>I used VB 2012 Express to make a maze program.</p>
  
  <p>It works really well even when I set <code>ROW*COLUMN</code> to <code>499*499</code>, (the maze is an array: <code>unsigned char maze[ROW][COLUMN]</code>). </p>
  
  <p>But one time I tried to make a super-giant maze of<code>999*999</code>, and the compiler gave me a "stack overflow" error.  </p>
  
  <p>I do know what it means, but is there any way to assign extra memory or even use some disk space to run my program?</p>