W3C home > Mailing lists > Public > www-xsl-fo@w3.org > July 2002

Re: Our of memory error.

From: Harm Kok <h.kok@diderottrack.nl>
Date: Tue, 09 Jul 2002 08:18:18 +0200
Message-ID: <3D2A802A.1040509@diderottrack.nl>
CC: www-xsl-fo@w3.org


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:
>	at org.apache.fop.image.FopImageConsumer.getImage(FopImageConsumer.java,
>Compiled Code)
>	at org.apache.fop.image.GifJpegImage.loadImage(GifJpegImage.java, Compiled
>	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
>	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
>	at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java, Compiled
>	at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java, Compiled
>	at
>.java, Compiled Code)
>	at
>LDocumentScanner.java, Compiled Code)
>	at
>java, Compiled Code)
>	at org.apache.xerces.framework.XMLParser.parse(XMLParser.java, Compiled
>	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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:26 UTC