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 Performance isseus Fo:marker
Date Mon, 26 Sep 2005 16:27:25 GMT
Hello,

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 ?

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.

<!-- This kind of page sequence is repeted many times -->
<fo:page-sequence>

   <!-- Static region containing a retrieve-marker -->
   <fo:static-content>
      <fo:block>
         ...
            <fo:table-cell>
               <fo:block white-space-collapse="false">
                  <fo:retrieve-marker 
                     retrieve-class-name="StrId0000"
                     retrieve-position="last-starting-within-page" 
                     retrieve-boundary="document"/>  
                  </fo:block>
               </fo:block>
             </fo:table-cell>
         ...                        
      </fo:block>
   </fo:static-content>


   <!-- Flow containing several markers -->
   <fo:flow flow-name="xsl-region-body">
      ....
      <fo:block empty="true">
         <fo:marker marker-class-name="StrId0000">
            <fo:block>Coucou</fo:block>
         </fo:marker>
       </fo:block>
       <fo:block break-before="page"/>
       ...
       ...
       <fo:block empty="true">
          <fo:marker marker-class-name="StrId0000">
             <fo:block>Coucou</fo:block>
          </fo:marker>
       </fo:block>
       ...
       ...
</fo:page-sequence>


Regards
--
S├ębastien FOUCAULT



---------------------------------------------------------------------
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