Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-987

RetrCmdHandler and TopCmdHandler shouldn't store the Message in memory

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0-M1, 3.0.0, Trunk
    • 3.0-M1
    • POP3Server
    • None

    Description

      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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            norman Norman Maurer
            norman Norman Maurer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment