|
Re: Techniques For Overcoming Stack Overflow In DP
I believe its possible to set the applications stack size when using the gnu linker with -stack <size>.
other ideas would be,
1. Check you aren't losing stack space due to alignment.
2. Play with the optimization switches with your compiler. In some cases you can get the compiler to omit generating stack allocations wherever it can.
3. Use the heap. keep track of where your at and make your own stack.
|