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

Sharon,

Sharon French wrote:
> Is it possible that the initial OutOfMemory error occurs when a large
> garbage collection is taking place and an OutOfMemoryError is thrown
> before the memory can be reclaimed

Yes. In fact, this is often when OOMs occur, since the JVM is trying
hard to avoid the OOM in the first place.

> throwing the whole system into
> some sort of bad state?

After an OOM is thrown, the JVM is basically completely hosed.

> If so, how do we combat this behavior?

Fix resource leaks, allocate an appropriate amount of memory, and limit
resource use to avoid OOMs in the first place.

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

iD8DBQFFylVl9CaO5/Lv0PARAm/9AJ44AJe4/kUr/nLl9v+g92UbRlQ4HQCcD9YM
QEiVxUfHWvr5WV/LBY9jO2o=
=f9jZ
-----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