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

Chuck,

On 3/16/2009 2:00 PM, Caldarale, Charles R wrote:
> You need to look
> inside the java.lang.Object array that this particular thread is
> holding and see what the type of object in the array is.  That should
> help to narrow down where they're coming from.  Your second screen
> shot shows you starting to do this, but you didn't wait long enough
> for it to display the array contents.

Note that the array has room for 25764983 elements which is a /huge/
array. The array itself takes up 103059932 which is about 100MiB just
for the array (on a 32-bit system... if it's a 64-bit system, you're
talking about 200MiB), then any non-null elements of that array will
need space on the heap, too.

Sounds like something is being cached or not otherwise cleared-out. The
current version of ThreadWithAttributes doesn't have any methods with
locals of type Object[] (I couldn't find the source of TWA in the SVN
repo) so I wonder where the "local Object[]" is coming from. I wouldn't
guess that java.lang.Thread would have anything like this.

Please give us more details about the contents of that array. I'm sure
it will be enlightening.

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

iEYEARECAAYFAkm+twcACgkQ9CaO5/Lv0PDtmQCdEt/5As0jrBNBMv1PkjgYN5vZ
7BUAoL23LSHgrX77r9a8fUpzFooAsD6U
=WUGX
-----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