Page 1 of 1

Gaining OutOfMemoryException during transforming

Posted: Wed Jan 18, 2006 12:12 pm
by kirashet
Hi guys,

I got a strange problem during transforming XML and a XSLT to PDF.
Using Version 0.20.5 of FOP.

First, I create accountstatements, i.e. for GL accounts, Debitor accounts or Creditor accounts.
The XML output for all GL accounts in one month is nearly 10 MB large.
Debitor/Creditor accounts of one month is much bigger, nearly 15 MB.

While transforming the Debitor/Creditor XML to PDF, there is no problem. The CPU usage rises up to 100%, but the rendering successes.
But with the smaller GL accounts XML I get an OutOfMemoryException.

What could be the reason?

BR...
Sahin

Posted: Wed Jan 18, 2006 1:51 pm
by george
Hello Sahin,

It is not only the size of the input that counts but also the coplexity of the processing.
First check where you get the out of memory error, is it that when you apply your stylesheet to get the FO document or when you convert the FO to PDF using FOP. If it is in the first step then you need to give more memory to oXygen [1], otherwise if it is in the second step then you need to set more memory for FOP [2].

[1] http://www.oxygenxml.com/doc/ug-oxygen/ ... blems.html
[2] http://www.oxygenxml.com/doc/ug-oxygen/ ... processors

Best Regards,
George