AnsweredAssumed Answered

Lucene re-index big problem

Question asked by javixulo on Oct 16, 2012
Latest reply on Oct 17, 2012 by javixulo
Hello,

I'm facing a big problem when trying to re-index a large amount of documents in Alfresco 4.0.

In my Alfresco I've got around 4 million documents, and it always fail with out of memory exception. These are my java_opts:

set JAVA_OPTS=%JAVA_OPTS% -Xms1024m -Xmx3072m -XX:MaxPermSize=512m -Dfile.encoding=UTF-8 -Djava.file.encoding=UTF-8

I understand that memory is quite important when re-indexing such a big number of documents, but I believe that 3GB is quite a lot…

    Can anybody tell me the relation between number of documents / memory needed?

    There is any configuration that can improve the performance (less memory usage) of the re-index operation?

    Is it possible to re-index in blocks?
I need to change sth in the configuration so the re-index works :roll:. I would appretiate any help.

Thanks in advance

Outcomes