RE: Please help : StackOverFlow error

2008-01-07 Thread Peter Crowther
> From: Benoit VARVENNE [mailto:[EMAIL PROTECTED] > > "Exception in thread "Thread-8" java.lang.StackOverflowError" > > The expansive algorithm is a recursive one. > > I now always have StackOverFlow exceptions. > > I have already tried to customize JVM memory options with the > following line > in

Re: Please help : StackOverFlow error

2008-01-07 Thread Benoit VARVENNE
Hi Peter, Thanks a lot. '-Xss' option works great. Is there a way of determining what are "reasonable" values for the stack size (maybe according to the potential number of threads, ...) ? In fact I am not really used to such configurations... Thanks again Cheers, Benoit Le 7/01/08 16:33, « Pete

RE: Please help : StackOverFlow error

2008-01-07 Thread Peter Crowther
> From: Benoit VARVENNE [mailto:[EMAIL PROTECTED] > Is there a way of determining what are "reasonable" values > for the stack > size (maybe according to the potential number of threads, ...) ? Profile the app. And, for you in particular, know how deep the recursion will go and hence how large o