René Cordier created JAMES-3997:
-----------------------------------

             Summary: 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
             Fix For: 3.9.0


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: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to