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:[EMAIL PROTECTED] Envoyé : 02 October 2005 01:11 À : [email protected] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
