Question: How do I troubleshoot stack overflow error messages? Answer: A stack overflow occurs during runtime when the stack size is not enough for memory allocation. You can maximize the size of the stack by going under Project -> Project Settings, choose Link tag, under Project Options, add /stack:0xffff. |