Hi:

Many thanks, Andreas. Some further questions.

Possibly that's why, I see that memory is not being released to the same
level since when the rendering was started. Is there any API that can force
memory cleanup after the rendering is done - success or failure?

I removed all forward references, and my page-sequence handles very few
pages now, even then I face OutOfMemoryError, wondering what needs to be
done to get it through with high volume of data. 

Now, I have no forward page-citations, no image, just a flat table with huge
number of rows, but I split that to multiple page-sequences 

Here's the fo sample (I have cut it short to let you feel the usage, in case
I am doing wrong)...

Also, where from I can get the latest FOP jar (binary) replacing my
fop-0.92b.jar which I use now.

Regards,

Debasish Jana
-----

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";
xmlns:repro="http://www.anshinsoft.com/fop/extensions";>

<fo:layout-master-set>

<fo:simple-page-master master-name="r0" page-height="842pt"
page-width="595pt" margin-top="10.0pt" margin-bottom="10.0pt"
margin-left="10.0pt" margin-right="10.0pt">
<fo:region-body padding-top="0.0pt" padding-bottom="0.0pt"
padding-left="0.0pt" padding-right="0.0pt" margin-top="20.0pt"
margin-bottom="15.0pt" margin-left="10.0pt" margin-right="10.0pt">
</fo:region-body>
<fo:region-before region-name="Header">
</fo:region-before>
<fo:region-after region-name="Footer" extent="15pt">
</fo:region-after>
<fo:region-start region-name="LeftSide">
</fo:region-start>
<fo:region-end region-name="RightSide" extent="10pt">
</fo:region-end>
</fo:simple-page-master>

</fo:layout-master-set>


<fo:page-sequence master-reference="r0">

<fo:static-content flow-name="Header">
<fo:block-container height="20pt" width="575pt" top="10pt" left="10pt"
position="fixed" padding-top="0.0pt" padding-bottom="0.0pt"
padding-left="0.0pt" padding-right="0.0pt">
<fo:block>
</fo:block>
</fo:block-container></fo:static-content>

<fo:static-content flow-name="Footer">
<fo:block-container height="15pt" width="575pt" padding-top="0.0pt"
padding-bottom="0.0pt" padding-left="0.0pt" padding-right="0.0pt">
<fo:block>
</fo:block>
</fo:block-container></fo:static-content>

<fo:static-content flow-name="LeftSide">
<fo:block-container height="787pt" width="10pt" top="30pt" left="10pt"
position="fixed" padding-top="0.0pt" padding-bottom="0.0pt"
padding-left="0.0pt" padding-right="0.0pt">
<fo:block>
</fo:block>
</fo:block-container></fo:static-content>

<fo:static-content flow-name="RightSide">
<fo:block-container height="787pt" width="10pt" top="30pt" left="575pt"
position="fixed" padding-top="0.0pt" padding-bottom="0.0pt"
padding-left="0.0pt" padding-right="0.0pt">
<fo:block>
</fo:block>
</fo:block-container></fo:static-content>
<fo:flow flow-name="xsl-region-body">


<fo:table border-collapse="collapse" table-layout="fixed" width="553pt"
margin-top="0.0pt" margin-bottom="0.0pt" margin-left="0.0pt"
margin-right="0.0pt" padding-top="0.0pt" padding-bottom="0.0pt"
padding-left="0.0pt" padding-right="0.0pt" border-top-width="1.0pt"
border-top-style="solid" border-top-color="#000000"
border-bottom-width="1.0pt" border-bottom-style="solid"
border-bottom-color="#000000" border-left-width="1.0pt"
border-left-style="solid" border-left-color="#000000"
border-right-width="1.0pt" border-right-style="solid"
border-right-color="#000000">
<fo:table-column column-width="138.0pt"></fo:table-column>
<fo:table-column column-width="138.0pt"></fo:table-column>
<fo:table-column column-width="138.0pt"></fo:table-column>
<fo:table-column column-width="139.0pt"></fo:table-column>

<fo:table-body>

<fo:table-row height="14pt" margin-top="0.0pt" margin-bottom="0.0pt"
margin-left="0.0pt" margin-right="0.0pt" padding-top="0.0pt"
padding-bottom="0.0pt" padding-left="0.0pt" padding-right="0.0pt">
<fo:table-cell padding-top="0.0pt" padding-bottom="0.0pt"
padding-left="0.0pt" padding-right="0.0pt" border-top-width="1.0pt"
border-top-style="solid" border-top-color="#000000"
border-bottom-width="1.0pt" border-bottom-style="solid"
border-bottom-color="#000000" border-left-width="1.0pt"
border-left-style="solid" border-left-color="#000000"
border-right-width="0.5pt" border-right-style="solid"
border-right-color="#000000" margin-top="0.0pt" margin-bottom="0.0pt"
margin-left="0.0pt" margin-right="0.0pt" width="138.0pt"
wrap-option="no-wrap" display-align="before" text-align="left">
<fo:block><fo:block text-align="left" white-space-collapse="false"
linefeed-treatment="preserve" white-space-treatment="preserve"
line-height="85%"><fo:inline background-color="#FFFFFF" color="#000000"
text-decoration="none" font-family="'Arial'" font-size="12pt"
font-weight="normal"
font-style="normal">1559</fo:inline></fo:block><fo:block text-align="left"
white-space-collapse="false" linefeed-treatment="preserve"
white-space-treatment="preserve" line-height="85%"></fo:block><fo:block
text-align="left" white-space-collapse="false" linefeed-treatment="preserve"
white-space-treatment="preserve"
line-height="85%"></fo:block></fo:block></fo:table-cell>
<fo:table-cell padding-top="0.0pt" padding-bottom="0.0pt"
padding-left="0.0pt" padding-right="0.0pt" border-top-width="1.0pt"
border-top-style="solid" border-top-color="#000000"
border-bottom-width="1.0pt" border-bottom-style="solid"
border-bottom-color="#000000" border-left-width="0.5pt"
border-left-style="solid" border-left-color="#000000"
border-right-width="0.5pt" border-right-style="solid"
border-right-color="#000000" margin-top="0.0pt" margin-bottom="0.0pt"
margin-left="0.0pt" margin-right="0.0pt" width="138.0pt"
wrap-option="no-wrap" display-align="before" text-align="left">
<fo:block></fo:block></fo:table-cell>
<fo:table-cell padding-top="0.0pt" padding-bottom="0.0pt"
padding-left="0.0pt" padding-right="0.0pt" border-top-width="1.0pt"
border-top-style="solid" border-top-color="#000000"
border-bottom-width="1.0pt" border-bottom-style="solid"
border-bottom-color="#000000" border-left-width="0.5pt"
border-left-style="solid" border-left-color="#000000"
border-right-width="0.5pt" border-right-style="solid"
border-right-color="#000000" margin-top="0.0pt" margin-bottom="0.0pt"
margin-left="0.0pt" margin-right="0.0pt" width="138.0pt"
wrap-option="no-wrap" display-align="before" text-align="left">
<fo:block></fo:block></fo:table-cell>
<fo:table-cell padding-top="0.0pt" padding-bottom="0.0pt"
padding-left="0.0pt" padding-right="0.0pt" border-top-width="1.0pt"
border-top-style="solid" border-top-color="#000000"
border-bottom-width="1.0pt" border-bottom-style="solid"
border-bottom-color="#000000" border-left-width="0.5pt"
border-left-style="solid" border-left-color="#000000"
border-right-width="1.0pt" border-right-style="solid"
border-right-color="#000000" margin-top="0.0pt" margin-bottom="0.0pt"
margin-left="0.0pt" margin-right="0.0pt" width="139.0pt"
wrap-option="no-wrap" display-align="before" text-align="left">
<fo:block></fo:block></fo:table-cell>
</fo:table-row>

........ Repeat of <fo:table-row> to </fo:table-row> for a number of times,
say 50

</fo:table-body>
</fo:table>
</fo:flow>
</fo:page-sequence>

<fo:page-sequence master-reference="r0"><fo:static-content
flow-name="Header"><fo:block-container height="20pt" width="575pt"
top="10pt" left="10pt" position="fixed" padding-top="0.0pt"
padding-bottom="0.0pt" padding-left="0.0pt"
padding-right="0.0pt"><fo:block></fo:block></fo:block-container></fo:static-
content><fo:static-content flow-name="Footer"><fo:block-container
height="15pt" width="575pt" padding-top="0.0pt" padding-bottom="0.0pt"
padding-left="0.0pt"
padding-right="0.0pt"><fo:block></fo:block></fo:block-container></fo:static-
content><fo:static-content flow-name="LeftSide"><fo:block-container
height="787pt" width="10pt" top="30pt" left="10pt" position="fixed"
padding-top="0.0pt" padding-bottom="0.0pt" padding-left="0.0pt"
padding-right="0.0pt"><fo:block></fo:block></fo:block-container></fo:static-
content><fo:static-content flow-name="RightSide"><fo:block-container
height="787pt" width="10pt" top="30pt" left="575pt" position="fixed"
padding-top="0.0pt" padding-bottom="0.0pt" padding-left="0.0pt"
padding-right="0.0pt"><fo:block></fo:block></fo:block-container></fo:static-
content><fo:flow flow-name="xsl-region-body"><fo:table
border-collapse="collapse" table-layout="fixed" width="553pt"
margin-top="0.0pt" margin-bottom="0.0pt" margin-left="0.0pt"
margin-right="0.0pt" padding-top="0.0pt" padding-bottom="0.0pt"
padding-left="0.0pt" padding-right="0.0pt" border-top-width="1.0pt"
border-top-style="solid" border-top-color="#000000"
border-bottom-width="1.0pt" border-bottom-style="solid"
border-bottom-color="#000000" border-left-width="1.0pt"
border-left-style="solid" border-left-color="#000000"
border-right-width="1.0pt" border-right-style="solid"
border-right-color="#000000"><fo:table-column
column-width="138.0pt"></fo:table-column><fo:table-column
column-width="138.0pt"></fo:table-column><fo:table-column
column-width="138.0pt"></fo:table-column><fo:table-column
column-width="139.0pt"></fo:table-column><fo:table-body>
<fo:table-row height="14pt" margin-top="0.0pt" margin-bottom="0.0pt"
margin-left="0.0pt" margin-right="0.0pt" padding-top="0.0pt"
padding-bottom="0.0pt" padding-left="0.0pt" padding-right="0.0pt">
<fo:table-cell padding-top="0.0pt" padding-bottom="0.0pt"
padding-left="0.0pt" padding-right="0.0pt" border-top-width="1.0pt"
border-top-style="solid" border-top-color="#000000"
border-bottom-width="1.0pt" border-bottom-style="solid"
border-bottom-color="#000000" border-left-width="1.0pt"
border-left-style="solid" border-left-color="#000000"
border-right-width="0.5pt" border-right-style="solid"
border-right-color="#000000" margin-top="0.0pt" margin-bottom="0.0pt"
margin-left="0.0pt" margin-right="0.0pt" width="138.0pt"
wrap-option="no-wrap" display-align="before" text-align="left">
<fo:block><fo:block text-align="left" white-space-collapse="false"
linefeed-treatment="preserve" white-space-treatment="preserve"
line-height="85%"><fo:inline background-color="#FFFFFF" color="#000000"
text-decoration="none" font-family="'Arial'" font-size="12pt"
font-weight="normal"
font-style="normal">15797</fo:inline></fo:block><fo:block text-align="left"
white-space-collapse="false" linefeed-treatment="preserve"
white-space-treatment="preserve" line-height="85%"></fo:block><fo:block
text-align="left" white-space-collapse="false" linefeed-treatment="preserve"
white-space-treatment="preserve"
line-height="85%"></fo:block></fo:block></fo:table-cell>
<fo:table-cell padding-top="0.0pt" padding-bottom="0.0pt"
padding-left="0.0pt" padding-right="0.0pt" border-top-width="1.0pt"
border-top-style="solid" border-top-color="#000000"
border-bottom-width="1.0pt" border-bottom-style="solid"
border-bottom-color="#000000" border-left-width="0.5pt"
border-left-style="solid" border-left-color="#000000"
border-right-width="0.5pt" border-right-style="solid"
border-right-color="#000000" margin-top="0.0pt" margin-bottom="0.0pt"
margin-left="0.0pt" margin-right="0.0pt" width="138.0pt"
wrap-option="no-wrap" display-align="before" text-align="left">
<fo:block></fo:block></fo:table-cell>
<fo:table-cell padding-top="0.0pt" padding-bottom="0.0pt"
padding-left="0.0pt" padding-right="0.0pt" border-top-width="1.0pt"
border-top-style="solid" border-top-color="#000000"
border-bottom-width="1.0pt" border-bottom-style="solid"
border-bottom-color="#000000" border-left-width="0.5pt"
border-left-style="solid" border-left-color="#000000"
border-right-width="0.5pt" border-right-style="solid"
border-right-color="#000000" margin-top="0.0pt" margin-bottom="0.0pt"
margin-left="0.0pt" margin-right="0.0pt" width="138.0pt"
wrap-option="no-wrap" display-align="before" text-align="left">
<fo:block></fo:block></fo:table-cell>
<fo:table-cell padding-top="0.0pt" padding-bottom="0.0pt"
padding-left="0.0pt" padding-right="0.0pt" border-top-width="1.0pt"
border-top-style="solid" border-top-color="#000000"
border-bottom-width="1.0pt" border-bottom-style="solid"
border-bottom-color="#000000" border-left-width="0.5pt"
border-left-style="solid" border-left-color="#000000"
border-right-width="1.0pt" border-right-style="solid"
border-right-color="#000000" margin-top="0.0pt" margin-bottom="0.0pt"
margin-left="0.0pt" margin-right="0.0pt" width="139.0pt"
wrap-option="no-wrap" display-align="before" text-align="left">
<fo:block></fo:block></fo:table-cell>
</fo:table-row>

........ Repeat of <fo:table-row> to </fo:table-row> for a number of times,
say 50

</fo:table-body>
</fo:table>
</fo:flow>
</fo:page-sequence>

... and so on....

... and finally....

</fo:root>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to