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
Post a Comment