- From: Harm Kok <h.kok@diderottrack.nl>
- Date: Tue, 09 Jul 2002 08:18:18 +0200
- CC: www-xsl-fo@w3.org
Hi, Probably you need to set the memory usage setting in your command (or edit the fop.bat file). The following works for me: java -Xmx600MB -Xms600MB -cp build\fop.jar... -Xms<size> set initial Java heap size -Xmx<size> set maximum Java heap size Hope this helps, Harm Kok Diderot Track Purvesh Vora wrote: >Hi FO Xperts, >I am using fop .2 version. >I am getting foll. error while generating pdf. >Can anybody please guide me. > >Error: 500 >Internal Servlet Error: > >java.lang.OutOfMemoryError > at org.apache.fop.image.FopImageConsumer.getImage(FopImageConsumer.java, >Compiled Code) > at org.apache.fop.image.GifJpegImage.loadImage(GifJpegImage.java, Compiled >Code) > at org.apache.fop.image.AbstractFopImage.getBitmaps(AbstractFopImage.java, >Compiled Code) > at org.apache.fop.pdf.PDFXObject.output(PDFXObject.java, Compiled Code) > at org.apache.fop.pdf.PDFDocument.output(PDFDocument.java, Compiled Code) > at org.apache.fop.render.pdf.PDFRenderer.render(PDFRenderer.java, Compiled >Code) > at org.apache.fop.apps.StreamRenderer.queuePage(StreamRenderer.java, >Compiled Code) > at org.apache.fop.layout.AreaTree.addPage(AreaTree.java, Compiled Code) > at org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java, >Compiled Code) > at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java, Compiled >Code) > at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java, Compiled >Code) > at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java, Compiled >Code) > at >org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator >.java, Compiled Code) > at >org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM >LDocumentScanner.java, Compiled Code) > at >org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner. >java, Compiled Code) > at org.apache.xerces.framework.XMLParser.parse(XMLParser.java, Compiled >Code) > at org.apache.fop.apps.Driver.render(Driver.java, Compiled Code) > at org.apache.fop.apps.Driver.run(Driver.java, Compiled Code) > at BWZ.common.RenderFOP.renderFO(RenderFOP.java, Compiled Code) > >
Received on Tuesday, 9 July 2002 02:16:32 UTC