Java: Catching Stack Overflow

'Stack Overflow Error' tutorial was cited a in Mac Forums article in 2004.

The Stack Overflow Error tutorial was cited in a Mac Forums article in 2004. Note that my Geocities site has been moved to herongyang.com now.

Subject: Re: Java: catching stack overflow / sigbus error
Date: Jun 12, 2004
Source: http://forums.macrumors.com/archive/index.php/t-99812.html
Author: kingjr3

Quote:
   Originally Posted by MacNeXT
   But what do you mean with "crash a JVM with stack overflows"? 

Sounds more like a code issue to me. You are so quick to blame the 
JVM. Have you tried Profiling your application?

See http://www.geocities.com/herong_yang/jvm/stack.html

ALthough JVMs have improved since 2002, I would venture to guess these
 simple programs are still effective at crashing a JVM.

Aside - Worth a shot, but wrap your code with a try/catch and instead 
of catching Exception, catch Throwable.

Table of Contents

 About This Book

 Reference Citations in 2017

 Reference Citations in 2016

 Reference Citations in 2015

 Reference Citations in 2014

 Reference Citations in 2013

 Reference Citations in 2012

 Reference Citations in 2011

 Reference Citations in 2010

 Reference Citations in 2009

 Reference Citations in 2008

 Reference Citations in 2007

 Reference Citations in 2006

 Reference Citations in 2005

Reference Citations in 2004

 HelloWeb Quick Start Guide

 Float vs Double

 J2SE Unicode 转化为 GB2312

 Cookies Don't Persist

 tomcat problem

 Jakarta Taglibs, JSTL Problem

 Dovecot SSL Warning (Not Error)

 Cipher, byte[]s and Strings; oh my!

 BodyTagSupport and JSP body-content

 Codifica Base64

Java: Catching Stack Overflow

 Invoking Remote Webservices from a Perl Client

 IP Protection and Encryption Donation

 Validate XML Documents in Java

 Java - Boolean

 GB2312 and Unicode Mapping Table

 CST 365/465 - Web Programming I

 Reference Citations in 2003

 PDF Printing Version