james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <server-...@james.apache.org>
Subject [jira] [Created] (JAMES-2555) Re-inding big mailboxes fails
Date Tue, 09 Oct 2018 02:37:00 GMT
Tellier Benoit created JAMES-2555:

             Summary: Re-inding big mailboxes fails
                 Key: JAMES-2555
                 URL: https://issues.apache.org/jira/browse/JAMES-2555
             Project: James Server
          Issue Type: Bug
          Components: CLI, mailbox
    Affects Versions: 3.0.0, master, 3.0.1, 3.1.0
            Reporter: Tellier Benoit
             Fix For: 3.2.0

Reported internally:

Doing a reindex via the CLI on a mailbox which contains ~24000 mails does not work.

 -  heap out of memory issue

Heap increased, then:

 -  cassandra timeout when increasing heap

Timeout increased, then:

 -  heap out of memory issue

Heap increased, then:

 -  GC overhead limit exceeded

In ReIndexerImpl instead of doing a FULL read to reindex the all mailbox (AND all of the related
data) we should rather do a first metadata query to load uids then perform subsequent single

That is the root issue: trying to load 11 Go of mails in memory.

Furthermore, a simple error should not trigger the end of a ReIndexing.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message