[ 
https://issues.apache.org/jira/browse/JAMES-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17818340#comment-17818340
 ] 

René Cordier commented on JAMES-3995:
-------------------------------------

https://github.com/apache/james-project/pull/2024 ([FIX] Add a max number of 
items for EmailGet full reads) helps optimizing Email/get JMAP method as well

> Optimize Email/get method
> -------------------------
>
>                 Key: JAMES-3995
>                 URL: https://issues.apache.org/jira/browse/JAMES-3995
>             Project: James Server
>          Issue Type: Improvement
>    Affects Versions: 3.8.1
>            Reporter: René Cordier
>            Priority: Major
>             Fix For: 3.9.0
>
>
> For Email/get, we seem to buffer body binary parts using Mime4J to be able to 
> recalculate the size of the part. 
> This causes James to consume a very high amount of memory, which can cause 
> performance issues if there is too many of those.
> We should try to find a way to avoid buffering the binary parts in order to 
> save memory, and boost performance for Email/get JMAP method.



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