memory leak? a problem about DownstreamMessageEvent

Trustin Lee trustin at gmail.com
Mon Jan 3 21:40:54 EST 2011


Could you upload the heap dump somewhere?

--
Trustin Lee - http://gleamynode.net/
Sent from a mobile device - please excuse the brevity.

On Jan 3, 2011, at 2:06 PM, chris <zz12847643 at gmail.com> wrote:

> 
> i'm developing a webgame,when i was doing performance testing(based on 8k
> online user)  for one day(about 15 hours), 
> i found  memory size jvm used was 4.8G ,i dump the memory by jmap,and
> startup the jhat viewer,  the top 12 classes as follower:
> 
> 307739 instances of class org.jboss.netty.channel.DownstreamMessageEvent 
> 297635 instances of class
> org.jboss.netty.util.internal.LinkedTransferQueue$Node 
> 227420 instances of class org.jboss.netty.buffer.BigEndianHeapChannelBuffer 
> 159719 instances of class org.jboss.netty.channel.DefaultChannelFuture 
> 152708 instances of class
> org.jboss.netty.channel.socket.nio.SocketSendBufferPool$PooledSendBuffer 
> 138592 instances of class
> org.jboss.netty.channel.DefaultWriteCompletionEvent 
> 132096 instances of class org.jboss.netty.buffer.DuplicatedChannelBuffer 
> 120310 instances of class org.jboss.netty.buffer.DynamicChannelBuffer 
> 107109 instances of class org.jboss.netty.channel.UpstreamMessageEvent 
> 76816 instances of class
> org.jboss.netty.util.internal.ConcurrentHashMap$Segment 
> 76816 instances of class
> [Lorg.jboss.netty.util.internal.ConcurrentHashMap$HashEntry; 
> 65074 instances of class
> org.jboss.netty.util.internal.ConcurrentHashMap$ValueIterator 
> 
> i can not get why the instance count of DownstreamMessageEvent and
> UpstreamMessageEvent is so high?  can you  help me?  
> thanks all.
> -- 
> View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/memory-leak-a-problem-about-DownstreamMessageEvent-tp5880466p5880466.html
> Sent from the Netty User Group mailing list archive at Nabble.com.
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users



More information about the netty-users mailing list