james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Bagnara <apa...@bago.org>
Subject Re: [jira] Commented: (JAMES-649) error "OutOfMemoryError: JAVA H EAP SPACE" in connections log file when doing a POP TOP for 4000 messages
Date Thu, 05 Oct 2006 13:13:57 GMT
Maxime.LORIDAN@external.thalesgroup.com wrote:
> Yes it works!
> 
> Thanks!
> 
> PS: Do you know if this code will be included in the next version of JAMES?

Unfortunately we are in the last RC phase of our current release and it 
is unlikely we'll include this in 2.3.0.

2.3.1 or 2.4.0 will include this fix for sure.

So unlikely but not impossible: we have a team and we'll probably vote 
soon about the final release and this vote will include also the 
decisions about pending patches for open bugs.

Stefano

> -----Message d'origine-----
> De : Stefano Bagnara (JIRA) [mailto:server-dev@james.apache.org] 
> Envoyé : mercredi 4 octobre 2006 17:55
> À : maximeloridan@gmail.com
> Objet : [jira] Commented: (JAMES-649) error "OutOfMemoryError: JAVA HEAP SPACE" in connections
log file when doing a POP TOP for 4000 messages
> 
>     [ http://issues.apache.org/jira/browse/JAMES-649?page=comments#action_12439873 ]

>             
> Stefano Bagnara commented on JAMES-649:
> ---------------------------------------
> 
> Are you able to change code and try again?
> I would like to know what is the result if you add this method to MimeMessageWrapper:
> ----
>     /**
>      * @see javax.mail.internet.MimeMessage#getRawInputStream()
>      */
>     public InputStream getRawInputStream() throws MessagingException {
>         if (!messageParsed && !isModified() && source != null) {
>             InputStream is;
>             try {
>                 is = source.getInputStream();
>                 // skip the headers.
>                 new MailHeaders(is);
>                 return is;
>             } catch (IOException e) {
>                 throw new MessagingException("Unable to read the stream: " + e.getMessage(),
e);
>             }
>         } else return super.getRawInputStream();
>     }
> ------



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