Hi,

It seems that periodically in my html converter (i.e. html to pdf and
rtf) when there is a large node which contains numerous other nodes
and I add that top level element to the document by doing
document.add(Element element) then cpu usage goes to 100% and tomcat
hangs.  However, when the html document contains various smaller top
level nodes it behaves fine.  This problem tends to occur when the
whole html page is wrapped in a table with everything inside that in
cells.  Each tag provides a representation of itself in Element terms
and gets added to its parent element.

Could you shed any light on if and why itext would cause cpu usage of
100% when adding a large element to the document?

Many thanks.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to