I have solved problem, It should work in all IDEs I think, but it definitely works in Visual Studio. PROJECT->Properties->Configuration Properties->Linker->System->Stack Reserve Size=4194304 . This makes stack size 4 MB.
More Related Contents:
- I upgraded C++ projects from Visual Studio 2010 to 2015 still its showing Visual Studio (2010)
- Debugging with command-line parameters in Visual Studio
- How to detect whether there is a specific member variable in class?
- Unresolved external symbol in object files
- Qt5 Static Build yields Failed to load platform plugin “windows”
- GCC style weak linking in Visual Studio?
- How to enable __int128 on Visual Studio?
- Mixing debug and release library/binary – bad practice?
- How to create NVIDIA OpenCL project
- rvalue to lvalue conversion Visual Studio
- fatal error LNK1104: cannot open file ‘libboost_system-vc110-mt-gd-1_51.lib’
- Visual Studio 2010 not autolinking static libraries from projects that are dependencies as it should be supposed to
- “newly” installed visual studio returns 408 errors on blank program of type ‘cannot open source file “errno.h” ‘
- Cannot open include file: ‘ctype.h’: No such file or directory
- cpu dispatcher for visual studio for AVX and SSE
- How do I print to the debug output window in a Win32 app?
- Visual Studio 2010’s strange “warning LNK4042”
- How can I make Visual Studio’s build be very verbose?
- x86 MUL Instruction from VS 2008/2010
- Static library debug symbols
- strdup or _strdup?
- Use Visual Studio 2012 and compile with older platform toolset?
- What are data breakpoints?
- Visual Studio debug iterators
- Using pre-compiled headers with CMake
- Using Visual Studio project properties effectively for multiple projects and configurations
- Cannot open include file: ‘stdio.h’ – Visual Studio Community 2017 – C++ Error
- Inspecting STL containers in Visual Studio debugging
- difference between Console (/SUBSYSTEM:CONSOLE) and Windows (/SUBSYSTEM:WINDOWS)
- _iterator_debug_level value ‘0’ doesn’t match value ‘2’