Performance trouble [Update]

Francis J. Lacoste flacoste at logreport.org
Wed Jan 7 16:45:50 CET 2004


On Mon, 2003-12-15 at 14:35, Andrea Pila Ghirardini wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> After an hour of cpu usage both html directory and pdf file are 0 leght.
> 
> I can't understand.
> 

What kind of report are you processing? How big is your report file? I
suggest you generate your report in the Lire XML format :

lr_run lr_log2report -o xml ... > report.xml

You can then format the report using the lr_xml2report command :

lr_run lr_xml2report -i -o pdf report.xml > report.pdf
lr_run lr_xml2report -o txt report.xml > report.txt
etc.

It is quite possible for PDF and HTML generation to take much memory and
much time since they are using XSLT which works on the whole DOM in
memory. So if the XML document is big, it is possible that the process
is swapping. 

The zero-length document is probably caused by an error during the xslt
processing. 

Kind regards,

Francis J. Lacoste

-- 
Francis J. Lacoste              . .           http://www.logreport.org
/^LogReport$/               . .               flacoste at logreport.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.logreport.org/pipermail/questions/attachments/20040107/b479e7d3/attachment.bin 


More information about the Questions mailing list