C++ stack overflow - visual studio 2008 -
I declared and started an array containing [100] [1000] [1000] character elements (100 MB) Not to mention the first time about a stack overflow. But when I'm going after it a while, it throws a stack overflow exception! I increased the stack reserve size - Project Option-> Linker-> 200,000,000 in the system- but this did not work! I'm working using 2GB RAM. How do I avoid more stacks than flow?
Stop using the stack! Use Hep Memory!
Comments
Post a Comment