We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › java.lang.StackOverflowError
Page Index Toggle Pages: 1
java.lang.StackOverflowError (Read 568 times)
java.lang.StackOverflowError
Aug 27th, 2007, 2:10am
 
java.lang.StackOverflowError

I got this error message while running a program which has a recursive method.
The program runs fine except for a bigger size input.

Can I modify some parameter to increase the stack size ?
Re: java.lang.StackOverflowError
Reply #1 - Sep 15th, 2007, 1:21pm
 
I never found a way to increase the stack size,
but I solve my problem by replacing the recursion with a while loop, using my own stack to push() and pop().
Page Index Toggle Pages: 1