[ https://issues.apache.org/jira/browse/JAMES-3997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benoit Tellier closed JAMES-3997. --------------------------------- Resolution: Fixed Could be a candidate for 3.8 backport though... If somebody in the community feels motivated. > 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: 50m > 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: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org