C ++ vs2010 increase stack size

I am using vs2010 C ++ for image processing.

My image is an array of 1920 by 1200.

I can’t even declare:

unsigned short frame [1920*1200];

Because of.

How to increase stack size?

+5
source share
1 answer

In Visual Studio, you can increase the size of the stack this way.

Properties → Configuration Properties → Linker → System → Stack Reserve Size

+8
source

All Articles