mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trustin Lee (JIRA)" <j...@apache.org>
Subject [jira] Closed: (DIRMINA-377) Reduce memory consumption of DefaultIoFuture
Date Thu, 07 Jun 2007 10:04:25 GMT

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

Trustin Lee closed DIRMINA-377.
-------------------------------

    Resolution: Fixed
      Assignee: Trustin Lee

Done as Niklas suggested

> Reduce memory consumption of DefaultIoFuture
> --------------------------------------------
>
>                 Key: DIRMINA-377
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-377
>             Project: MINA
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.0.3, 1.1.0
>            Reporter: Trustin Lee
>            Assignee: Trustin Lee
>            Priority: Minor
>             Fix For: 1.0.4, 1.1.1
>
>
> On May 15, 2007, at 2:11 PM, Haviv wrote:
> > Recently I am profiling memory on my application which is based on
> > MINA
> > 1.0.1.
> > During my tests I found that there are many instances of ArrayList
> > allocated
> > from DefaultIoFuture constructor(around 10-20%
> > of the total memory), after reviewing the code there is indeed an
> > allocation
> > of the "listeners" attribute which in my
> > opinion can be done lazy - correct me if I am wrong but most of the
> > time
> > this array is empty (when no listener are added) and there is unneeded
> > allocation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message