manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CONNECTORS-1266) Email notifications spin until out of memory
Date Sun, 13 Dec 2015 23:14:46 GMT

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

Karl Wright resolved CONNECTORS-1266.
-------------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: ManifoldCF 2.3)
                   ManifoldCF 2.4

r1719845


> Email notifications spin until out of memory
> --------------------------------------------
>
>                 Key: CONNECTORS-1266
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1266
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Email connector
>    Affects Versions: ManifoldCF 2.2
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>             Fix For: ManifoldCF 2.4
>
>
> {code}
> agents process ran out of memory - shutting down
> java.lang.OutOfMemoryError: Java heap space
>         at java.util.Arrays.copyOf(Unknown Source)
>         at java.util.Arrays.copyOf(Unknown Source)
>         at java.util.ArrayList.grow(Unknown Source)
>         at java.util.ArrayList.ensureExplicitCapacity(Unknown Source)
>         at java.util.ArrayList.ensureCapacityInternal(Unknown Source)
>         at java.util.ArrayList.add(Unknown Source)
>         at org.apache.manifoldcf.crawler.notifications.email.EmailConnector.sendMail(EmailConnector.java:301)
>         at org.apache.manifoldcf.crawler.notifications.email.EmailConnector.notifyOfJobEnd(EmailConnector.java:270)
>         at org.apache.manifoldcf.crawler.system.JobResetThread.doEndNotifications(JobResetThread.java:260)
>         at org.apache.manifoldcf.crawler.system.JobResetThread.run(JobResetThread.java:123)
> {code}
> "Looked into the code
> There is a never incrementing for loop (copy&paste bug, loop runs over j and increments
i) at EmailConnector.java in line 298:"
> {code}
>     for (int j = 0; j < childNode.getChildCount(); i++) {
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message