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

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

> IMAP APPEND fails when inMemorySizeLimit is exceeded
> ----------------------------------------------------
>
>                 Key: JAMES-3507
>                 URL: https://issues.apache.org/jira/browse/JAMES-3507
>             Project: James Server
>          Issue Type: Bug
>          Components: IMAPServer
>    Affects Versions: 3.5.0
>            Reporter: Benoit Tellier
>            Priority: Major
>             Fix For: 3.6.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> When the APPENDed message exceeds the memory size limit, 
> ImapRequestFrameDecoder allocates a file scoped to command decoding and not 
> command execution.
> We need to review the lifecycle of this file in order to dispose it only 
> after the command being executed.
> My idea would be to register closeables to the channel and dispose them once 
> the message is processed.
> Such a move will allow using files instead of memory for large mails, 
> reducing the memory footprint of large APPEND.
> Note that server/protocols/imap is not tested so as part of this ticket, as 
> we need to write a faulty test, we also need to write such tests.



--
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