james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wojtek Strzalka (JIRA)" <server-...@james.apache.org>
Subject [jira] Created: (IMAP-265) Memory leakeage problem
Date Tue, 15 Mar 2011 22:42:29 GMT
Memory leakeage problem

                 Key: IMAP-265
                 URL: https://issues.apache.org/jira/browse/IMAP-265
             Project: JAMES Imap
          Issue Type: Bug
            Reporter: Wojtek Strzalka

There is constant memory leakage while heavy testing. 
I was experiencing OOM while testing huge mailboxes with even single client (greedy one -
it open many simultanous connections).
So I'd increased memory for James and then did a memory dump after testing session (all clients
were disconnected > 10 minutes at the time) and checked what's sitting there.

66323 instances  of class org.jboss.netty.buffer.BigEndianHeapChannelBuffer
66299 instances of class org.jboss.netty.util.internal.LinkedTransferQueue$Node
66250 instances of class org.jboss.netty.channel.DefaultChannelFuture
66250 instances of class org.jboss.netty.channel.DownstreamMessageEvent
7853 instances of class org.jboss.netty.buffer.TruncatedChannelBuffer
2048 instances of class org.jboss.netty.util.internal.ConcurrentIdentityHashMap$Segment
2048 instances of class [Lorg.jboss.netty.util.internal.ConcurrentIdentityHashMap$HashEntry;
512 instances of class org.jboss.netty.util.MapBackedSet
512 instances of class org.jboss.netty.util.internal.ConcurrentIdentityHashMap
512 instances of class org.jboss.netty.util.internal.ConcurrentIdentityHashMap$KeyIterator
512 instances of class org.jboss.netty.util.internal.ConcurrentIdentityHashMap$KeySet
512 instances of class [Lorg.jboss.netty.util.internal.ConcurrentIdentityHashMap$Segment;
204 instances of class javax.mail.util.SharedFileInputStream
201 instances of class org.apache.james.imap.main.ResponseEncoder
197 instances of class org.apache.james.imap.processor.IdleProcessor$IdleMailboxListener
174 instances of class org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext
147 instances of class org.apache.james.mime4j.util.CharsetUtil$Charset
118 instances of class org.apache.log4j.CategoryKey 

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message