tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: jmx memory leak ?
Date Fri, 23 Apr 2004 17:40:57 GMT
@see BZ #28321

----- Original Message -----
From: "Ludovic Drolez" <ludovic.drolez@linbox.com>
To: <tomcat-dev@jakarta.apache.org>
Sent: Friday, April 23, 2004 9:18 AM
Subject: jmx memory leak ?


> Hi !
>
>
> We are currently using Tomcat 5.0.19. With simple servlets, we found that
> memory usage was continuously increasing, until a fatal OutOfMemory
exception.
>
> Using HPjmeter the only object which seems to keep growing seems to be an
> ArrayList created by a RequestGroupInfo object:
>
>    Java stack -> org.apache.jk.common.ChannelSocket@4b706260 (120 bytes)
>          notifInfo -> javax.management.MBeanNotificationInfo[]@4b7061c0
(16
> bytes)
>       tpOName -> javax.management.ObjectName@84103f0 (32 bytes)
>             sSocket -> java.net.ServerSocket@4b6c8958 (24 bytes)
>           tp -> org.apache.tomcat.util.threads.ThreadPool@8ab8730
> (56 bytes) (1280 held)
>       inet -> java.net.Inet4Address@89831e0 (24 bytes)
>             mserver -> mx4j.server.MBeanServerImpl@4b1498c8 (40 bytes)
>           oname -> javax.management.ObjectName@8ab84d0 (32 bytes)
>         domain -> java.lang.String@8ab84b0 (24 bytes)
>       name -> java.lang.String@8ab82e8 (24 bytes)
>             next ->
> org.apache.jk.common.HandlerRequest@8b11df0 (80 bytes)
>          global -> org.apache.coyote.RequestGroupInfo@8add070 (16 bytes)
>              processors -> java.util.ArrayList@4b70b790 (24 bytes)
> (1 611 200 held)
>                elementData -> java.lang.Object[]@4b825e18 (112 bytes) (1
611
> 176 held)
>
>
> JMX is not enabled and this bug seems to be jmx related...(But if i remove
> jmx.jar I cannot start tomcat5)
> Does someone knows why the arraylist is so big and keeps growing ?
>
>
> TIA,
> --
> Ludovic DROLEZ                              Linbox / Free&ALter Soft
> 152 rue de Grigy - Technopole Metz 2000                   57070 METZ
> tel : 03 87 50 87 90                            fax : 03 87 75 19 26
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>


Mime
View raw message