I would like to use a large array on the stack. However I keep on getting stack overflow although I changed the stack reserve size. For example:
int main()
{
int a[5000000];
return 0;
}
and in visual studio 2012: Properties -> Linker -> System -> Stack reserve size: 10000000
What could cause it?