xsl-list
[Top] [All Lists]

Re: [xsl] FOP : consumption memory

2014-08-15 13:32:28
Thx Geert but I can't spread and break pages. It's a bibliography (swiss
national library bibliography).
If someone wants the XML and XSL to test, no problem :-) I'm not very
professional with XSL, I maybe have done some horrors in my stylesheets but
my question is only : why FOP hangs and the little tool works perfectly.
With absolute respect for people working for free tools like FOP.

-----Message d'origine-----
De : Geert Bormans geert(_at_)gbormans(_dot_)telenet(_dot_)be
[mailto:xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com] 
Envoyé : vendredi 15 août 2014 17:12
À : xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Objet : Re: [xsl] FOP : consumption memory

Hi,

In my experience FOP does a poor thing with long page sequences.
It seems to keep them in memory (for repagination maybe?) completely
Memory footprint for FOP goes down dramatically 
if you have a logic that cuts the pages
Rather than using mechanisms such as break before 
or similar, create new page sequences when you can
(eg. per chapter, ...)
That has helped me in the past

Cheers

Geert


At 16:33 15/08/2014, you wrote:
Hi All,

I know, difficult to say without having the 
source, but could someone explain me why FOP 
crashes, hangs (memory ?) for relative big 
documents and a free small tool like XML2PDF 
render the PDF perfectly and this, dramatically quicker compare to FOP.
I?ve tried to play with JAVA memory etc? no way.

Thanks and regards
JP

<http://www.mulberrytech.com/xsl/xsl-list>XSL-List info and archive
<-list/554170>EasyUnsubscribe 
(<>by email)

--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>