[xep-support] Strange problem with generating large PDF.

From: Volodymyr Mykhailyk <Volodymyr.Mykhailyk@intelliarts.com>
Date: Wed Mar 05 2008 - 02:27:11 PST

Hi,

we are trying to generate large PDF with more then 8000 of pages. And we
are getting following error:

2/29/08 3:15:13 PM PST] [java] (generate [output-format pdf][i][ii][iii]...[lx][1][2][3]...[6749][6750]Exception in thread "main" java.lang.OutOfMemoryError
     [java] at java.util.zip.Deflater.init(Native Method)

[2/29/08 3:15:13 PM PST] [java] at java.util.zip.Deflater.<init>(Deflater.java:117)
     [java] at java.util.zip.Deflater.<init>(Deflater.java:126)
     [java] at com.renderx.util.DeflaterOutputStream.<init>(Unknown Source)
     [java] at com.renderx.pdflib.PDFOutputStream.startStream(Unknown Source)
     [java] at com.renderx.pdflib.PDFOutputStream.beginStream(Unknown Source)
     [java] at com.renderx.pdflib.PDFDocument.beginPage(Unknown Source)
     [java] at com.renderx.xep.gen.backends.H4PDF.beginPage(Unknown Source)
     [java] at com.renderx.xep.gen.backends.H4PDF.startElement(Unknown Source)
     [java] at com.renderx.xep.gen.SAX.startElement(Unknown Source)
     [java] at com.renderx.xep.gen.SAX.traverse(Unknown Source)
     [java] at com.renderx.xep.FormatterCore$ContentHandlerDriver.endDocument(Unknown Source)
     [java] at com.icl.saxon.aelfred.SAXDriver.parse(SAXDriver.java:334)
     [java] at com.renderx.xep.FormatterCore.render(Unknown Source)
     [java] at com.renderx.xep.FormatterImpl.render(Unknown Source)

[2/29/08 3:15:13 PM PST] [java] at com.renderx.xep.FormatterImpl.render(Unknown Source)
     [java] at com.renderx.xep.FormatterImpl.render(Unknown Source)
     [java] at com.renderx.xep.XSLDriver.main(Unknown Source)

It is not looks like the usual out of memory error. Strange thing that
it is failure to complete the generation in the middle of the book
(total count of pages is 8153) and that is source of problem

java.util.zip.Deflater.init

Should we more increase the memory size, or this is some limitation of
possible pages (PDF size)?

--BS
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Wed Mar 5 04:02:38 2008

This archive was generated by hypermail 2.1.8 : Wed Mar 05 2008 - 04:02:44 PST