You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Norman Maurer (JIRA)" <se...@james.apache.org> on 2010/11/06 10:16:44 UTC

[jira] Created: (IMAP-227) MaildirMessage should only open a InputStream if the content is really needed

MaildirMessage should only open a InputStream if the content is really needed
-----------------------------------------------------------------------------

                 Key: IMAP-227
                 URL: https://issues.apache.org/jira/browse/IMAP-227
             Project: JAMES Imap
          Issue Type: Improvement
          Components: Maildir Mailbox
    Affects Versions: 0.2-M1, 0.1
            Reporter: Norman Maurer
             Fix For: 0.2


At the moment the MaildirMessage get an InputStream for the content as constructor argument. So you need to construct one even if you not need the content at all. This leads to an open filehandle which in theory can hit the max open file limit. So we should only create one if really needed

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


[jira] Resolved: (IMAP-227) MaildirMessage should only open a InputStream if the content is really needed

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/IMAP-227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved IMAP-227.
--------------------------------

    Resolution: Fixed
      Assignee: Norman Maurer

fixed

> MaildirMessage should only open a InputStream if the content is really needed
> -----------------------------------------------------------------------------
>
>                 Key: IMAP-227
>                 URL: https://issues.apache.org/jira/browse/IMAP-227
>             Project: JAMES Imap
>          Issue Type: Improvement
>          Components: Maildir Mailbox
>    Affects Versions: 0.1, 0.2-M1
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>             Fix For: 0.2
>
>
> At the moment the MaildirMessage get an InputStream for the content as constructor argument. So you need to construct one even if you not need the content at all. This leads to an open filehandle which in theory can hit the max open file limit. So we should only create one if really needed

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