You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "Foucault, Sebastien" <Se...@hraccess.com> on 2005/10/03 09:58:01 UTC

RE : Performance isseus Fo:marker

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