This may be obvious, but are you absolutely sure your recursive function always has an escape path?  It's pretty easy to get into an infinite loop without realizing it when implementing recursion.

On Oct 20, 2006, at 3:31 AM, Ulrich Köster wrote:

You could attach a debugger to the deployed application and set a exception breakpoint for the StackOverflowError.

Uli
Am 19.10.2006 um 19:37 schrieb Ken Anderson:

I occasionally receive this message on a WO app I have:

com.webobjects.foundation.NSForwardException for java.lang.StackOverflowError

It's during some pretty deep recursion, so I would really like to expand whatever stack is being used... the problem is, I'm not really clear how to do that.  I've tried expanding the stack with -Xss, but that doesn't seem to help (and some documentation leads me to believe that's for the C stack, not the Java stack).

Has anyone run into this?  Any ideas?

Thanks,
Ken

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:

This email sent to [EMAIL PROTECTED]

--
Robert Walker



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to