أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
In case I want to fix the stack size of the program before execution.
Fastest way, is to do a recursion, a function that takes one param that represents the recursion depth.. and then run that app.. and whenever it crashes then you are out of stack mem; check the level and multibly with the function stack space.. it will be your stack memory.