c++ - Increase stack size of a program -


i'm looking way increase stack size of program, reason i've recursive call casusing stack overflow. there anyway can change default stack size?

if *nix, use

ulimit -s <number_in_kb> 

you'd set in environment before running program. can set programatically described in this answer.

you can view current value running ulimit -a.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -