[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: More memory for Lucene
This is done using the XSL 1.78.0 style sheets, which include the machinery for creating the WebHelp search index. All works remarkably well (thanks to the GSoC 2012 who implemented great improvements!), but there's one problem left which I haven't found a solution for.
When building on my local machine, creating the search index takes between 8 and 15 seconds, depending on the size of the book. On our central docs build machine, however, creation time is by factors higher (between 30 and 50 minutes!). I suspect that Lucene (the Java module that creates the index) needs more memory, or at least that would be my first try.
But how would I do that, i.e. allocate more than the default amount of memory (whatever it is) to Lucene? Any pointers appreciated!
-- Cheers, Stefan Hinz <firstname.lastname@example.org>, MySQL Documentation Manager Phone: +49-30-82702940, Fax: +49-30-82702941, http://dev.mysql.com/doc ORACLE Deutschland B.V.& Co. KG Registered Office: Riesstr. 25, 80992 Muenchen, Germany Commercial Register: Local Court Of Munich, HRA 95603 Managing Director: Jürgen Kunz General Partner: ORACLE Deutschland Verwaltung B.V. Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Register Of Chamber Of Commerce: Midden-Niederlande, No. 30143697 Managing Directors: Alexander van der Ven, Astrid Kepper, Val Maher