我
我我我
Guest
I encountered a crash of a program which uses deep recursion. I developed it with Visual C++ in VS2015. After I set Project Properties -> Linker -> System -> Stack Reserve Size & Stack Commit Size from empty to a large value, say, 1000000000 (1GB), the program runs correctly. So obviously the problem was caused by the small default stack size set by VS2015. So I'm curious what on earth the default stack size is? I am using Visual Studio 2015 Update 3 on Windows 10 64 bit, so I'm only interested in the value on that platform. A link to a document webpage together with the default value would be appreciated. Thank you.
Continue reading...
Continue reading...