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 "Norman Maurer (Resolved) (JIRA)" <se...@james.apache.org> on 2011/10/11 19:41:11 UTC

[jira] [Resolved] (JAMES-1330) MimeMessageInputStreamSource should keep bytes in memory till a threshould is exceed

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

Norman Maurer resolved JAMES-1330.
----------------------------------

    Resolution: Fixed
    
> 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-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org