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

Endre Stølsvik <[email protected]> Mon, 14 Apr 2008 01:06:54 +0200
Newsgroups gmane.comp.windows.devel.java.advanced
Message-ID <[email protected]>
Peter Booth wrote:
> Here's my two cents:
>
> Catching an OutOfMemory error is a waste of time, because by the tim
> eyou get that error all bets ar eoff an dthere is no guarantee that the
> VM is functional.

As mentioned, I've also heard this. I'd like to have pointers to actual
documentation describing this, because I don't necessarily believe in
it. See my other post in this thread about why I don't necessarily
blindly believe that the OOM should come on any random thread. And I
specifically don't understand why there shouldn't be any guarantee that
the VM is functional after an OOM.
   So pointers to docs or authoritative voices on this would be great.

Endre.

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

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