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

Kalpana,

On 10/12/2009 10:22 PM, kalpanab wrote:
> My application working fine in tomcat 5.5.28 and java version "1.5.0_19"
> while doing load balancing tests. But when I upgrade tomcat to version
> 6.0.20 getting out of memory soon. I looked at the heap dump using Eclipse
> memory analyzer below listed taking more memory.
> 
> java.util.concurrent.ConcurrentHashMap$Segment      44.73 %  (3,353 objects)

What does that 44.73% mean?

Since you have a profiler handy, can you see what objects are hanging
onto the ConcurrentHashMap objects that "own" those Segment objects?

I have seen several reports from Tomcat users here on the list that
Tomcat 6.0 appears to take more memory than Tomcat 5.5, so it's possible
that you will need to increase your heap size in order to feed the later
version.

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

iEYEARECAAYFAkrU++8ACgkQ9CaO5/Lv0PDDJACdHEwUx5etsFEbB0E9aS/sHaki
0lsAn11sOUOM36TOgX9BSClPpfvsIPm6
=P5CE
-----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