Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Stack size

843811Nov 6 2001 — edited Jul 12 2005
How do I set a larger stack size in the HotSpot client?
I've programmed a really simple recursive program, but it only gets through about 5500 recursions. I'm working on an algorithms project, so I need to be able to call a procedure recursively tens of thousands of times without the Stack overflowing. It looks like there's no easy way to increase the stack size, and only allowing 5500 basically empty recursions is really pathetic.

Any help very much appreciated.

Todd
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 9 2005
Added on Nov 6 2001
13 comments
690 views