[
https://issues.apache.org/jira/browse/JAMES-3997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17819811#comment-17819811
]
Benoit Tellier commented on JAMES-3997:
---------------------------------------
It turns out this PR saved the day and solved real issues on prod!
I'll keep this around to have a few days feedback before merging.
> Netty backpressure for IMAP Fetch
> ---------------------------------
>
> Key: JAMES-3997
> URL: https://issues.apache.org/jira/browse/JAMES-3997
> Project: James Server
> Issue Type: Improvement
> Affects Versions: 3.8.0, 3.8.1
> Reporter: René Cordier
> Priority: Major
> Fix For: 3.9.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Some OOM IMAP issues on a production environment using James have been
> detected, regarding the method IMAP FETCH.
> We seem to do to write out:
> {code:java}
> channel.writeAndFlush()Unpooled.wrappedBuffer(buffer));
> {code}
> without any checks. Making the method using intermediate buffers in a slow
> network, potentially exploding the memory.
> Need to investigate this issue and enhance this processus, maybe by using
> Netty backpressure instead?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]