MimeMessageInputStreamSource should keep bytes in memory till a threshould is 
exceed
------------------------------------------------------------------------------------

                 Key: JAMES-1330
                 URL: https://issues.apache.org/jira/browse/JAMES-1330
             Project: JAMES Server
          Issue Type: Improvement
          Components: James Core
    Affects Versions: 3.0-beta3
            Reporter: Norman Maurer
            Assignee: Norman Maurer
             Fix For: 3.0-beta4


At the moment we store the content of the MimeMessageInputStreamSource in a 
temporary file even if its only a few bytes. This is used for temporary store 
the message content till the SMTP Client does end the DATA sequence with a 
CRLF.CRLF. This slow down things as we need to write to disk for every line we 
receive. It would be better to keep things in memory till a threshould is hit. 
I think 100kb is a good one as it should be enought for 90 % of emails and the 
other 10 % can just get temporary stored on disk

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to