Tomcat heapdump does not occur when it should

Hi,
I have the following params to Tomcat
JAVA_OPTS="-Xms1024m -Xmx3584m -verbose:gc -XX:HeapDumpPath=/feed_files/heapdump -XX:+HeapDumpOnOutOfMemoryError -XX:+PrintGCDetails"
/feed_files has 117GB of space and tomcat user has permissions to write to that space.
The need for the maximum memory we can get on the RHEL 4 machine is that we build enormous lookup caches using th eTrove collections set for performance reasons. But we are hitting OOM conditions and all we get at the moment is from the catalina.out file. Here is the last entry
[GC [PSYoungGen: 251921K->5610K(251648K)] 2834749K->2588459K(3166144K), 0.0636690 secs]
[GC [PSYoungGen: 220778K->11384K(224640K)] 2803627K->2599874K(3139136K), 0.0691200 secs]
[GC [PSYoungGen: 224632K->11474K(242624K)] 2813122K->2611493K(3157120K), 0.1027900 secs]
[GC [PSYoungGen: 222866K->9738K(219328K)] 2822885K->2610064K(3133824K), 0.0635020 secs]
[GC [PSYoungGen: 219274K->11180K(235072K)] 2819600K->2621365K(3149568K), 0.0710660 secs]
[GC [PSYoungGen: 218924K->682K(206656K)] 2829109K->2610879K(3121152K), 0.0628950 secs]
[GC [PSYoungGen: 206634K->30838K(207744K)] 2816831K->2704253K(3122240K), 0.2380740 secs]
[GC [PSYoungGen: 207734K->59898K(236800K)] 2881149K->2838352K(3151296K), 0.6335450 secs]
[GC [PSYoungGen: 191098K->91703K(269568K)] 2969552K->2963599K(3184064K), 0.8402690 secs]
[Full GC
Exception java.lang.OutOfMemoryError: requested 32768000 bytes for GrET* in /BUILD_AREA/jdk1.5.0_11/hotspot/src/share/vm/utilities/growableArray.cpp. Out of swap space?
So the question is, how do I get it to output the heapdump file?
Thx.
David                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Hi,
According to the sysadmin guy we have plenty of swap space and memory - 12GB.
You can see what happened to the swap space here. It got the OOM condition between 1:10 and 1:20AM as is evident from the stats below.
Linux 2.6.9-55.ELsmp (oraprd05) 09/03/2008
12:00:01 AM kbmemfree kbmemused %memused kbbuffers kbcached kbswpfree kbswpused %swpused kbswpcad
12:10:01 AM 20656 16233740 99.87 41520 13284548 8307956 77932 0.93 164
12:20:01 AM 21784 16232612 99.87 55892 13323192 8307956 77932 0.93 52
12:30:01 AM 23328 16231068 99.86 60484 13353284 8307984 77904 0.93 48
12:40:01 AM 20304 16234092 99.88 45996 12956060 8306044 79844 0.95 1992
12:50:01 AM 19992 16234404 99.88 46372 13044296 8305984 79904 0.95 284
01:00:01 AM 21160 16233236 99.87 49656 13148332 8305988 79900 0.95 268
01:10:01 AM 20544 16233852 99.87 54608 13146992 8308020 77868 0.93 192
01:20:01 AM 3452648 12801748 78.76 67112 9181592 8308052 77836 0.93 180
01:30:01 AM 1823912 14430484 88.78 74072 10927788 8308096 77792 0.93 200
01:40:01 AM 23176 16231220 99.86 59104 12086772 8308100 77788 0.93 80
Any other reasons why I would not get the heapdump file? Maybe because it is near the limit of allow memory for a 32 bit JVM?
David

Similar Messages

Maybe you are looking for