-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jorge,
On 6/11/12 3:01 PM, Jorge Medina wrote: > There is not much running in the machine other than Tomcat. The JVM > actually starts fine, using about 8GB (6GB of heap, + code + > threads etc) but it keeps growing. In about 2 days it runs out of > memory. (The JVM process has reached more than 15GB). I would be very interested in seeing where all that memory is going. It sounds like it's not going to the heap, otherwise you'd be getting OOME and crashing in a different way. Any luck using lsof? Also, your previously-posted configuration seems a little insane: > Xms6g -Xmx6g -XX:NewSize=4G -XX:MaxNewSize=4G -XX:SurvivorRatio=6 > -XX:MaxPermSize=512M -XX:-UseConcMarkSweepGC -XX:+UseStringCache > -XX:+HeapDumpOnOutOfMemoryError > -XX:HeapDumpPath=/home/example/logs - -Xmx6g and NewSize=4G? Plus 0.5G for PermGen? Have you tried using -XX:+UseCompressedOops? I wonder if you are getting killed with half-empty 64-bit pointers. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/WQ9kACgkQ9CaO5/Lv0PAzQQCfb27emGzLf1rcF+5HP/CDV7iH 1w0An3X19YeWKrnwx2AyqO4QkMGvr5sm =UHL9 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org