Gaining OutOfMemoryException during transforming
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 4
- Joined: Fri Nov 18, 2005 11:37 am
Gaining OutOfMemoryException during transforming
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
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
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
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
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
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service