Interesting: a simple FO wrapper around a big preformatted text file.
Run it through FOP 0.20.5. That should work but you won't be happy with
the result unless you change a few things in the FO file (the
white-space-collapse="false" hack for 0.20.5 to begin with). 0.93 simply
cannot handle documents like this, yet. We've got ideas but that'll take
time. In the meantime, try to convert the content into markup (as it
should be) and split it up into page-sequences. XSL-FO cannot
automagically format the preformatted ASCII file into something nice.

Still, it's a little scary when 0.20.5 processes this file in one second
while 0.93 allocates 500MB+ memory for a 250KB file and eventually dies
the OutOfMemory death. It's a very special example you have here.

On 27.02.2007 12:56:49 Tyndyll wrote:
> 
> Hi Lou,
> 
> I'm using Sun Java 1.6 and trying to produce a PDF from a much smaller file
> (253kB). I too am getting the Out Of Memory error, but only while using Fop
> 0.93. This is after adding the -Xmx512m switch to the batch file. Performing
> the same process using 0.20.5 results in the output PDF produced in
> seconds...
> 
> I am trying to recreate an example from the XSL-FO O'Reilly book to
> demonstrate Complex Page Sequences. I only have one page-sequence containing
> data to be converted. I've included the FO file here 
> http://www.nabble.com/file/6814/complex.fo complex.fo . 
> 
> Any advice on other things to try, or how to update this code to something
> 0.93 would prefer would be much appreciated
> 
> Thanks
> 
> Tyndyll
> 
> 
> Louis.Masters wrote:
> > 
> > For Sun's java, on the java command line, use something like this:
> > 
> > -Xmx512m
> > 
> > The 512m means 512 megabytes of memory.  Set it to whatever you need. 
> > Check out your java compiler/exe vendor for more details.
> > 
> > -Lou
> > 
> > 
> -- 
> View this message in context: 
> http://www.nabble.com/Exception-in-thread-%22main%22-java.lang.OutOfMemoryError-tf3229008.html#a9180498
> Sent from the FOP - Users mailing list archive at Nabble.com.



Jeremias Maerki


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

Reply via email to