Reputation: 541
I'm using vs2010 c++ to process images.
My image is an array of 1920 by 1200.
I can't even declare :
unsigned short frame [1920*1200];
Due to stack overflow.
How can I increase stack size ?
Upvotes: 5
Views: 8494
Reputation: 21377
In Visual Studio, you can increase the stack size this way
Properties -> Configuration Properties -> Linker -> System -> Stack Reserve Size
Upvotes: 8