This week's book giveaway is in the Open Source forum.
We're giving away four copies of RabbitMQ in Depth and have Gavin Roy on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Performance:Stack Overflow Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of RabbitMQ in Depth this week in the Open Source forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Performance:Stack Overflow Error" Watch "Performance:Stack Overflow Error" New topic

Performance:Stack Overflow Error

Deepak Lal
Ranch Hand

Joined: Jul 01, 2008
Posts: 555

Hi Ranchers,
What is a Stack Overflow Error.? how do we resolve it ?If you have come across this error in the past,How did you tackle this issue.

Help provided will be highly appreciated.

Deepak Lal

When The Going Gets Tougher,The Tougher gets Going
Nitesh Kant

Joined: Feb 25, 2007
Posts: 1638

As according to the javadocs, it is "Thrown when a stack overflow occurs because an application recurses too deeply."

So, typically, this will happen when you have made a recursive function that never ends.

This question has nothing to do with performance (even though you added that in the subject), moving to Java - Beginner forum.

apigee, a better way to API!
Deepak Lal
Ranch Hand

Joined: Jul 01, 2008
Posts: 555

Thanks for the reply.
I agree. Here's the link:
subject: Performance:Stack Overflow Error