Ahoy.
In my program I have a subroutine that I keep increasing code as needed. I had lots of headaches before figured out it was about stack size: increasing this size, program run as expected.
My question is this: what are the inconvenients of having an huge stack size? I guess I have no other solution, though.
Thanks in advance
These days, not much. Every subroutine will have that much stack available to them.
Well, when I figure out the problem is stack size I increase it, but I always keep receiving a warning when compiling that I have 3 subroutines with big stack size. All goes ok as expected, though, after doing it. Was asking just thinkin in future :)
You should consider dynamic data, instead of statically defining everything on the stack.
Paul.