james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norman Maurer (JIRA)" <server-...@james.apache.org>
Subject [jira] Created: (JAMES-987) RetrCmdHandler and TopCmdHandler shouldn't store the Message in memory
Date Sun, 04 Apr 2010 15:24:27 GMT
RetrCmdHandler and TopCmdHandler shouldn't store the Message in memory
----------------------------------------------------------------------

                 Key: JAMES-987
                 URL: https://issues.apache.org/jira/browse/JAMES-987
             Project: JAMES Server
          Issue Type: Improvement
          Components: POP3Server
    Affects Versions: 3.0, 3.0-M1, Trunk
            Reporter: Norman Maurer
            Assignee: Norman Maurer
             Fix For: 3.0-M1


At the moment we use a ByteArrayOutputStream to store the whole message content which will
get written to the client later. This is super inefficient and could maybe lead to OOM Exception
on very big messages. We should allow read the data to get written directly from a InputStream


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message