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:

{code:java}
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
{code}

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

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
(v7.6.3#76005)

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

Reply via email to