How to increase memory allocation to program

Posted by Vaibhav on Stack Overflow See other posts from Stack Overflow or by Vaibhav
Published on 2010-06-12T06:53:44Z Indexed on 2010/06/12 9:03 UTC
Read the original article Hit count: 188

Filed under:
|

When I try to initialize a 3D array of size 300*300*4 in a C program, my program stops running and reports stack overflow error. The system I am using has 3GB RAM, which should be sufficeint. Is there any way to increase memory allocated to a program? I am using Dev C++ on Windows Vista.

© Stack Overflow or respective owner

Related posts about c++

Related posts about c