Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Performance:Stack Overflow Error

 
Deepak Lal
Ranch Hand
Posts: 561
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Nitesh Kant
Bartender
Posts: 1638
IntelliJ IDE Java MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Deepak Lal
Ranch Hand
Posts: 561
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic