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 Paul Tremblay <ph...@iglou.com> on 2006/05/06 01:31:43 UTC
preliminary report on thesis and memory use
About a month ago I asked if FOP could handle a thesis about 100 pages
long with a table of contents at the beginning. I was told the best
way to answer the question was to write the stylesheets to convert the
thesis to FO and use FOP to convert it. It obviously took me a little
bit of time to do so.
At this point the body of the thesis is around 60 pages long. There is
then a 40 page table. The table of contents only has to reference to
page 60; after that there are no more references.
I ran FOP on my 400 MHZ machine loaded with linux. I am using FOP
version 0.91beta and java version 1.4.1.
It took me 47 seconds to process the document and I encountered no
memory problems.
This test is preliminary because there is one more appendix that will
contain many, many graphics, and the table of contents will point to
these graphics.
Paul
--
************************
*Paul Tremblay *
*phthenry@iglou.com *
************************
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: preliminary report on thesis and memory use
Posted by "J.Pietschmann" <j3...@yahoo.de>.
Charles Griswold wrote:
> The only issue we've encountered is a significant memory leak on
> successive reports. Initial testing seems to indicate a loss of about
> 100m with each execution.
I suspect this is the image cache. Try resetting the cache between
executions.
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: preliminary report on thesis and memory use
Posted by Manuel Mall <mm...@arcus.com.au>.
On Saturday 06 May 2006 23:14, Charles Griswold wrote:
> Paul Tremblay wrote:
<snip/>
> The only issue we've encountered is a significant memory leak on
> successive reports. Initial testing seems to indicate a loss of about
> 100m with each execution.
> We have no solution to this issue other than to invoke the XSLT-FOP
> as a separate task on each execution. This approach insures a new
> JVM on each execution.
>
Charles,
can you please advise with which version(s) of fop you observed the
memory leak?
Thanks
Manuel
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: preliminary report on thesis and memory use
Posted by Charles Griswold <cg...@logixpartners.com>.
Paul Tremblay wrote:
>About a month ago I asked if FOP could handle a thesis about 100 pages
>long with a table of contents at the beginning. I was told the best
>way to answer the question was to write the stylesheets to convert the
>thesis to FO and use FOP to convert it. It obviously took me a little
>bit of time to do so.
>
>At this point the body of the thesis is around 60 pages long. There is
>then a 40 page table. The table of contents only has to reference to
>page 60; after that there are no more references.
>
>I ran FOP on my 400 MHZ machine loaded with linux. I am using FOP
>version 0.91beta and java version 1.4.1.
>
>It took me 47 seconds to process the document and I encountered no
>memory problems.
>
>This test is preliminary because there is one more appendix that will
>contain many, many graphics, and the table of contents will point to
>these graphics.
>
>Paul
>
>
>
We use FOP for generating reports based upon our health care benefit
plan representation with our product, PlanLogix. These reports can be
between 2 and 500 pages.
They all have a TOC as well. We also use a large number of GIFs on each
report. The larger reports are memory intensive. We've been able to
reduce the memory usage by reducing the amount of material rendered with
in any specific block.
The only issue we've encountered is a significant memory leak on
successive reports. Initial testing seems to indicate a loss of about
100m with each execution.
We have no solution to this issue other than to invoke the XSLT-FOP as a
separate task on each execution. This approach insures a new JVM on
each execution.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: preliminary report on thesis and memory use
Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Thanks for the feedback. That's good to know. It'll be interesting to
see the influence of the additional graphics and the ToC on the memory
consumption.
On 06.05.2006 01:31:43 Paul Tremblay wrote:
> About a month ago I asked if FOP could handle a thesis about 100 pages
> long with a table of contents at the beginning. I was told the best
> way to answer the question was to write the stylesheets to convert the
> thesis to FO and use FOP to convert it. It obviously took me a little
> bit of time to do so.
>
> At this point the body of the thesis is around 60 pages long. There is
> then a 40 page table. The table of contents only has to reference to
> page 60; after that there are no more references.
>
> I ran FOP on my 400 MHZ machine loaded with linux. I am using FOP
> version 0.91beta and java version 1.4.1.
>
> It took me 47 seconds to process the document and I encountered no
> memory problems.
>
> This test is preliminary because there is one more appendix that will
> contain many, many graphics, and the table of contents will point to
> these graphics.
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org