[ 
https://issues.apache.org/jira/browse/JAMES-1252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Norman Maurer resolved JAMES-1252.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0-M3
         Assignee: Norman Maurer

> OOM during remotedelivery of big mail
> -------------------------------------
>
>                 Key: JAMES-1252
>                 URL: https://issues.apache.org/jira/browse/JAMES-1252
>             Project: JAMES Server
>          Issue Type: Bug
>          Components: Matchers/Mailets (bundled)
>    Affects Versions: 3.0-M2
>         Environment: -Xmx1024M
>            Reporter: Andrzej Rusin
>            Assignee: Norman Maurer
>             Fix For: 3.0-M3
>
>
> When delivering a large (more than 200M) email:
> INFO  04:11:45,402 | james.mailetcontext | Exception caught in 
> RemoteDelivery.run()
> java.lang.OutOfMemoryError: Java heap space
>         at java.util.Arrays.copyOf(Arrays.java:2786)
>         at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:94)
>         at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1026)
>         at org.apache.commons.io.IOUtils.copy(IOUtils.java:999)
>         at 
> org.apache.james.core.MimeMessageWrapper.writeTo(MimeMessageWrapper.java:315)
>         at 
> org.apache.james.core.MimeMessageWrapper.writeTo(MimeMessageWrapper.java:290)
>         at 
> org.apache.james.core.MimeMessageWrapper.writeTo(MimeMessageWrapper.java:286)
>         at 
> org.apache.james.core.MimeMessageWrapper.writeTo(MimeMessageWrapper.java:271)
>         at 
> org.apache.james.core.MimeMessageWrapper.getMessageInputStream(MimeMessageWrapper.java:661)
>         at 
> org.apache.james.core.MimeMessageInputStream.<init>(MimeMessageInputStream.java:58)
>         at 
> org.apache.james.core.MimeMessageInputStream.<init>(MimeMessageInputStream.java:79)
>         at 
> org.apache.james.queue.activemq.ActiveMQMailQueue.produceMail(ActiveMQMailQueue.java:189)
>         at 
> org.apache.james.queue.jms.JMSMailQueue.enQueue(JMSMailQueue.java:207)
>         at 
> slpcore.pop3server.smarthost.SlpRemoteDelivery.run(SlpRemoteDelivery.java:808)
>         at java.lang.Thread.run(Thread.java:662)
> SlpRemoteDelivery is only slightly modified bundled RemoteDelivery (trunk 
> version), with added smarthost/gateway per sender domain capability. Not 
> affecting other things.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to