Hi,
 
I am new to the FOP-Development and I haven't read all the documents
yet.
 
 
I made some modifications to the FOP so I am able to have mutiple PDF
Files with one XML File.
The Filename is dynamically generated based on a specific FONode.
 
Example :
      <ac:filename>
                 <xsl:value-of select="name">-<xsl:value-of
select="prename">.pdf
      </ac:filename>
 
In a few words, when a new page Sequence starts, I stop and start the
PDF Renderer with a new Outputstream.
(may be not the best solution)
 
It is working very well with a little XML-File.
 
But now I get into trouble.
My XML File is about 103193785 Bytes (103 MB !).
In this XML-File, there about 16588 Elements which are processed so I
will get 16588 files.
 
Everbody with me? :-)
 
It was working very well up to 700 Elements but after that, I got an
OutOfMemory.
 
I modified the SVN-Version from 3rd of August 2005 and I already tried
to increase the Heap to 1024M.
(I have 64GB Memory on that server :-))
 
When I finished this modification to the according way to the fop
development guide, I'll do a patch.
 
 
I have to mention, that I already modified the 0.20.5 Version and tested
it successfully with a different, static (concerning the filename) dirty
hack. So I got 16588 PDF Documents. With one XML and one XSL file.
 
 
regards
Andreas Cordes
Germany
 

Reply via email to