tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: Recovery from OutOfMemoryError?
Date Tue, 31 Jul 2007 22:31:06 GMT
Hash: SHA1


Caldarale, Charles R wrote:
>> From: Leon Rosenberg [] 
>> Subject: Re: Recovery from OutOfMemoryError?
>> Thats however strongly depend on where it happened... if for example
>> the code in question was a middleware stub which is left in
>> unpredictable state, or the orb itself, or any kind of stack
>> somewhere, or a processing queue, or some background threads... or 3rd
>> party libraries...
> Agreed - but the above defines software of somewhat questionable
> quality, not written with robustness in mind.  But if it's not a
> critical environment, the occasional outage may not matter, so robust
> algorithms are not always needed.

Are you suggesting that all methods should be written as a loops around
attempts to do real work, catching OOME and re-trying until the work
gets done? That's what it sounds like, here.

IMHO, it's not a library's problem if there wasn't enough memory to
perform its duty. It's the driver's responsibility to catch and
re-attempt anything important.

- -chris
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla -


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message