Re: Out-of-Memory Handling in Long-Running / Server Applications

Randall R Schulz <[email protected]> Sun, 13 Apr 2008 19:50:51 -0700
Newsgroups gmane.comp.windows.devel.java.advanced
Message-ID <[email protected]>
On Sunday 13 April 2008 19:13, Jeff Kesselman wrote:
> Randall R Schulz wrote:
> > I simply must be able to report the condition, not fail to generate
> > a reply at all, which is what happens if you let the JVM die.
>
> Ah, well, thats a valid point.  Why couldnt you just catch it and log
> it and then exit?

'Cause if I "System.exit()" the servlet container will die. Presumably.


> JK


Randall Schulz

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com