On Thu, 2006-10-05 at 08:30 +1000, Jim Watson wrote: > Hi, > > I re-built xmlhelp and helpcontent2 using the patches OK on Mac OSX > 10.4 Intel Xcode2.4 (m186) and GNU/Linux SPARC debian/unstable > (OOD680_m5). > > I don't use any --with-system and as a result needed to change a > couple of <db.h> to be <berkeleydb/db.h> > Also delivered a few extra headers from boost. On Linux (debian/ > unstable) i had to use the system libxml2 because libxslt needs a > version more recent than the internal build. On Mac I had to get > both libxml2 and libxslt from fink, but OOo still built with the > internal libxml2. > > While running Helplinker the linux/sparc machine ran out of memory > with message "...Killed". It had 256mb RAM and 500mb swap. I > increased swap to 1000mb and no more problems.
Yeah, those little config issues need to be worked out, but they're fairly trivial, the out of memory is fixed now, see issue 70155 for the current patch, which fixes that madness. And I fixed a crash under some circumstances and made a few little go faster micro-improvements. So, some numbers At the moment building with ALL languages means that for the 54 languages[1] in helpcontent2 nine zips get created for each language, meaning 477 zip files.... It looks like there's approximately 1000 input xml files per .zip which generally need to have some extra content spliced into them and then their content text indexed. For sun java with the rest of helpcontent2 built and so just the HelpLinker times alone, and taking a single representative module, e.g. smath, and building with the aforementioned 54 langs for this module alone... timing harness: > build ... > cd helpcontent2 > export nodep=true > rm -rf unxlngi6.pro/bin/smath*zip > cd util/smath > time dmake New C++ HelpLinker results: real time: 9m28 Sun java + java HelpLinker results: real time: 11m53 So the new one takes 80% of the time the old one did, which is a good initial improvement at least C. [1] many languages don't have helpcontent translations, and as an aside of those that do plenty actually are just the english content again, e.g. finnish --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
