xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Foucault, Sebastien" <Sebastien.Fouca...@hraccess.com>
Subject RE : Performance isseus Fo:marker
Date Mon, 03 Oct 2005 07:58:01 GMT
Hello,

Thank you. It is exactly what i noticed having a look at the source code. 

Because, the program i'm working on generates a lot of markers (from
hundreds to thousands per class name), i encounter sometimes OOMs. 

But, because i always use a retrieve-position which searches the markers
from the bottom to the top of the document, i modified FOP to make the
marker content stored in hash (using the class-name as the key) which
permits to retrieve only one marker per class name.



Regards
--
Sébastien FOUCAULT



-----Message d'origine-----
De : J.Pietschmann [mailto:j3322ptm@yahoo.de] 
Envoyé : 02 October 2005 01:11
À : fop-users@xmlgraphics.apache.org
Objet : Re: Performance isseus Fo:marker


Foucault, Sebastien wrote:
> I'm running FOP 0.20.5 under Win32 and I have performance issues
processing
> XSL documents containing fo:marker / fo:retrieve-marker tags.
> Do <fo:marker/> and <fo:retrieve-marker/> elements generate high memory
> consumption as long page sequences and <fo:page-citation/> elements do ?

I don't think so.

> NB1 : My document is splitted into tiny page sequences
> NB2 : My document does not content any fo:page-number-citation
> NB3 : When I remove the <fo:marker/> / <fo:retrieve-marker/> the memory
> consumption decreases.

If you have lots of fo:marker elements, they will take a lot of
space just by themselves. Not that all marker content is always kept
until the whole input is rendered, so splitting the content into
many small page sequences wont help.

J.Pietschmann

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message