You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by bu...@apache.org on 2003/10/23 01:19:44 UTC
DO NOT REPLY [Bug 24022] New: -
Don't keep all mailboxes in-memory forever
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