increase stack size in eclipse for highly recursive method.
I'm running an algorithm which is highly recursive and I keep getting the
Exception in thread "main" java.lang.StackOverflowError
The code is correct, it has a return clause to break out, it is NOT recursing forever, it works perfectly if I call it via a loop.
I need to tell eclipse to increase the Stack size. I think you would normally do this via a command line parameter but I'm not running it from the cmd line i'm running it through eclipse. I can not find any option in the eclipse compile preferences for increasing the java stack size.
Does anybody know how to do this?
Thanks in advance