james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norman Maurer (JIRA)" <server-...@james.apache.org>
Subject [jira] [Resolved] (IMAP-265) Memory leakeage problem with slow clients when using NIO
Date Fri, 15 Apr 2011 14:23:05 GMT

     [ https://issues.apache.org/jira/browse/IMAP-265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Norman Maurer resolved IMAP-265.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 0.2

was fixed

> Memory leakeage problem with slow clients when using NIO
> --------------------------------------------------------
>
>                 Key: IMAP-265
>                 URL: https://issues.apache.org/jira/browse/IMAP-265
>             Project: JAMES Imap
>          Issue Type: Bug
>            Reporter: Wojtek Strzalka
>            Assignee: Norman Maurer
>             Fix For: 0.2
>
>
> 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


Mime
View raw message