james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24022] New: - Don't keep all mailboxes in-memory forever
Date Wed, 22 Oct 2003 23:19:44 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24022>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24022

Don't keep all mailboxes in-memory forever

           Summary: Don't keep all mailboxes in-memory forever
           Product: James
           Version: 2.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: MailStore & MailRepository
        AssignedTo: server-dev@james.apache.org
        ReportedBy: noel@devtech.com


In James.java and AvalonMailStore.java, we can replace the HashMap that holds 
all of the repositories with a ReferenceMap.  The default settings should be 
fine.  The members are mailboxes and repositores, respectively.

This change should allow James to release un-used mailboxes in times of low 
memory.

---------------------------------------------------------------------
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