[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: FOP : consumption memory

Subject: Re: FOP : consumption memory
From: "Peter West lists@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 16 Aug 2014 02:05:06 -0000
Re:  FOP : consumption memory
Whatever works for you.

There's a big difference between an application that implements a very thorny
spec like XSL (the FO bit), and something that is designed for a limited
objective - see John's post.

If you need to render XSL-FO files, though, you will need something that can
handle them.

The memory requirement arises from 1) a naive application of the XSL spec, and
the way it defines (or defined, I haven't kept up) the process of rendering,
and 2) the possibility of back and forward references in the file.

#2 will always present problems, but aside from that, implementing a renderer
as a stack of active components, rather than as a tree of areas, offers the
possibility of a "moving window" implementation which would greatly reduce
memory requirements.  Sounds easy if you say it quickly.

Peter West

"Is not this the carpenter's son?"

On 16 Aug 2014, at 4:26 am, Jean-Pierre Lamon jpl@xxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> Ok Peter, but... it works for my purpose: create a PDF. And it's the goal
we
> all want to reach. Even with FOP. No?
>
> JP
>
> -----Message d'origine-----
> De : Peter West lists@xxxxxxxxx
> [mailto:xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx]
> Envoyi : vendredi 15 ao{t 2014 17:15
> @ : xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Objet : Re:  FOP : consumption memory
>
> Is this the one you're talking about?
>
> Xml2Pdf is a small utility that allows converting xml files into pdf. This
> is not a generic converter but rather a set of 3 specific converters: DVD,
> comics, and fables. The convertions (sic) are made using the iTextSharp
> library.
>
> If so, there's your answer: This is not a generic converter but rather a
set
> of 3 specific converters: DVD, comics, and fables.
>
> Peter West
>
> "Is not this the carpenter's son?"
>
> On 16 Aug 2014, at 12:34 am, Jean-Pierre Lamon jpl@xxxxxxxxxx
> <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> 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.
>> Ive tried to play with JAVA memory etc no way.
>>
>> Thanks and regards
>> JP
>>
>> XSL-List info and archive
>> EasyUnsubscribe (by email)

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.