In article <11**********************@g14g2000cwa.googlegroups .com>,
Qoo <qp*****@gmail.com> wrote:
Is there any tools like "stubedit" can let me enlarge the stack size
under linux ?
You might want to ask that in a linux-related newsgroup.
The C-related advice is that if you're using so much stack
that you need more...you're probably abusing the stack.
Don't do that.
- Use iteration in preference to recursion when appropriate
- If the nature of what you're doing demands recursion, investigate
alternative algorithms that don't recurse as deeply
- Put large objects into the heap instead of on the stack
- Pass pointers to large things instead of copying them
Just a start.
--
7842++