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

André,

On 5/30/2011 12:24 PM, André Warnier wrote:
> Note also that running out of Heap space does not necessarily mean that
> your classes have leaks.  It can also mean that they are just using
> memory to a point where your allocated Heap space is simply not sufficient.

+1

> Looking at the stack trace below, I find it unlikely that the code
> itself in
> org.apache.tomcat.util.http.FastHttpDateFormat.getCurrentDate
> , by itself, would use up the Heap. However, if by the time it is
> called, the Heap is already 99% full, it just might.

+1

OOMEs can occur at any time. It's almost never a problem in the code
shown in the stack trace. Most OOMEs I have seen do not even contain
stack traces.

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

iEYEARECAAYFAk3lSUwACgkQ9CaO5/Lv0PDIpwCfTwdqlybK7yao6/5DljIbRVr6
XSYAoIs02TaPShxzXgfAyJWobSlm4s82
=/u2C
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to