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 "Benoit Tellier (Jira)" <se...@james.apache.org> on 2021/03/08 06:48:00 UTC
[jira] [Closed] (JAMES-3415) MailEnvelopeImpl should use a
DeferedInputStream
[ 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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org