Eirikur Hrafnsson wrote: > > Secondly I have a problem with the RE-indexing of a Slide store. I > deleted the index and restarted tomcat and the RE-indexing starts. > Then the memory usage skyrockets, not by some tens of megabytes but by > hundreds of precious MB's at once and then gives me a OUT OF MEMORY > error and a failed transaction when it stops at 1500MB of RAM! > > Has anyone had this problem? First of all, why does the Slide-Lucene > index use transactions? Its writing to files in the file system right? > And what's with the memory feast? > Try to desactivate the async mode. Because while indexing (and content extraction), Slide keep the binary content of document into memory. In synchronized mode slide wait the end of the indexing of one document before loading the content of another for indexing. In Asynchone mode, all "IndexJob" (which reference a NodeRevisionContent with the binary content in memory) are put in a queue at the same time. Loading the content of all documents into stream in memory at the same time cause your OutOfMemoryError.
> Best regards > Eiki > > ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ > > Eirikur S. Hrafnsson > Chief Software Engineer > > [EMAIL PROTECTED] > > ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ > > Idega hf. ı Engjavegi 6 ı 104 Reykjavík ı Iceland > Tel. +354 554 7557 ı Fax +354 885 7557 > > http://www.idega.com ı [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- ------------------------------------------------------------------------ Honoré David N. Projet DISSCO (http://www.meteo.be/DISSCO/) email: [EMAIL PROTECTED] tel: 02 37 30 530 ------------------------------------------------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]