-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chuck,

Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:[EMAIL PROTECTED] 
>> Subject: Re: Recovery from OutOfMemoryError?
>>
>> 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?
> 
> Sort of, but not at the method level - something on a larger scale.
> Think recoverable database operations, where nothing is permanently
> stored until a commit happens.  And perpetual retry isn't needed - just
> a failure return to the caller.

I generally think of this as "failure return" as simply allowing the
exception to propagate.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGsIuK9CaO5/Lv0PARAgchAJwNisfWQClMub7qmUj8/smKxbonVwCfQDrb
bwYmaWlh5u+7gClpLMq41KI=
=iOsg
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to