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] Created: (JAMES-1100) Make MimeMessageWrapper copy of Message configurable
Date Mon, 01 Nov 2010 17:12:28 GMT
Make MimeMessageWrapper copy of Message configurable

                 Key: JAMES-1100
                 URL: https://issues.apache.org/jira/browse/JAMES-1100
             Project: JAMES Server
          Issue Type: Improvement
          Components: James Core
    Affects Versions: 3.0-M1, 2.3.2, 2.3.1, 2.3.0
            Reporter: Norman Maurer
            Assignee: Norman Maurer
             Fix For: 3.0-M2

MimeMessageWrapper store the whole message content into a byte array if it is constructed
from a MimeMessage. This is fast but can raise the memory usage while processing many mails.
The copy is only triggered when you have Matchers which not match all or none recipients,
but even then its only needed when the message must be altered.

So often the Message is not copied at all. Neverless we should make it configurable to use
a temporary file for the copy to save memory. This is best implemented by using a System property

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

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

View raw message