Re: recursive leads to stack overflow
- From: Thomas Weidenfeller <nobody@xxxxxxxxxxxxxxxx>
- Date: Tue, 24 May 2005 13:17:50 +0200
hyena wrote:
I have a recursive function to buid up a tree. When the tree grwos too big, my java give me a error of stack overflow.
Use a better algorithm.
si there some solutions rather then reconsidering the algorithms?
If you really want to waste more memory, read the fine manual:
http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/java.html#nonstandard
/Thomas
-- The comp.lang.java.gui FAQ: ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq .
- Follow-Ups:
- Re: recursive leads to stack overflow
- From: hyena
- Re: recursive leads to stack overflow
- References:
- recursive leads to stack overflow
- From: hyena
- recursive leads to stack overflow
- Prev by Date: Re: Is there a GUI Magazine anywhere?
- Next by Date: Re: HOWTO: Multiline (word wrap) JTable cells with automatic height - SIMPLE
- Previous by thread: recursive leads to stack overflow
- Next by thread: Re: recursive leads to stack overflow
- Index(es):
Relevant Pages
|
|