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

Benoit Tellier closed JAMES-3415.
---------------------------------
    Fix Version/s: 3.6.0
       Resolution: Fixed

I merged this as it yields significant perfomance enhancements

> MailEnvelopeImpl should use a DeferedInputStream
> ------------------------------------------------
>
>                 Key: JAMES-3415
>                 URL: https://issues.apache.org/jira/browse/JAMES-3415
>             Project: James Server
>          Issue Type: Improvement
>          Components: SMTPServer
>            Reporter: Benoit Tellier
>            Priority: Major
>              Labels: bug, easy-fix
>             Fix For: 3.6.0
>
>
> Following remarks made by @adarshasp87  on gitter,
> it turns out MailEnvelopeImpl uses an inmemory data structure to store 
> temporary messages before enqueuing them.
> When the size extension is not enabled, this can cause "out of memory 
> exceptions".
> We would rather like to rely on a DeferedInputStream, or the like, in order 
> to allow very large messages reception in SMTP.
> Community members should feel free to contribute this simple fix.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to