xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davor Cengija" <davor.ceng...@mail.inet.hr>
Subject Re: OutOfMemoryError on Websphere, not in WSAD test environment
Date Wed, 06 Nov 2002 07:44:33 GMT

"J.Pietschmann" <j3322ptm@yahoo.de> wrote in message
news:3DC82C9F.80609@yahoo.de...
> Davor Cengija wrote:
> > I'll try different fonts and FOP versions and let you know what happens.
>
> Check the memory settings of your JVM first. The Unix version
> may have a smaller default, or things just take up more space
> there (caching, threadss, whatever), or you are even using a
> completely different JVM version.
> Consult your friendly WebSphere manual about where to set
> addidional JVM flags.

Might be, since I got the following error, also OutOfMemoryError:

[11/5/02 18:07:09:215 CST] 51d691ea WebGroup      X Servlet Error: :
java.lang.OutOfMemoryError
        at
org.apache.fop.fonts.TTFSubSetFile.readFont(TTFSubSetFile.java:584)
        at
org.apache.fop.render.pdf.fonts.MultiByteFont.getFontFile(MultiByteFont.java
:200)
        at
org.apache.fop.render.pdf.fonts.LazyFont.getFontFile(LazyFont.java:173)
        at
org.apache.fop.pdf.PDFDocument.makeFontDescriptor(PDFDocument.java:898)
        at org.apache.fop.pdf.PDFDocument.makeFont(PDFDocument.java:799)
        at
org.apache.fop.render.pdf.FontSetup.addToResources(FontSetup.java:206)
        at
org.apache.fop.render.pdf.PDFRenderer.stopRenderer(PDFRenderer.java:157)
        at
org.apache.fop.apps.StreamRenderer.stopRenderer(StreamRenderer.java:144)
        at
org.apache.fop.fo.FOTreeBuilder.endDocument(FOTreeBuilder.java:205)
        at
org.apache.xerces.parsers.SAXParser.endDocument(SAXParser.java:1230)
        at
org.apache.xerces.validators.common.XMLValidator.callEndDocument(XMLValidato
r.java:1146)
        at
org.apache.xerces.framework.XMLDocumentScanner$EndOfInputDispatcher.dispatch
(XMLDocumentScanner.java:1499)
        at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:381)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
        at org.apache.fop.apps.Driver.render(Driver.java:481)
        at org.apache.fop.apps.Driver.run(Driver.java:554)
        at
hr.noveteh.hgk.uvozizvoz.web.struts.PrintActionTemplate.createPdf(PrintActio
nTemplate.java:102)
        at
hr.noveteh.hgk.uvozizvoz.web.struts.actions.export.ExportPDFAction.executeSp
ecific(ExportPDFAction.java:57)
        at
hr.noveteh.hgk.uvozizvoz.web.struts.UvozIzvozActionTemplate.execute(UvozIzvo
zActionTemplate.java:51)
        at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
sor.java:437)
        at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:264)
        at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1109)
        at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:470)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled
Code))
        at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled
Code))
        at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager
.java(Compiled Code))
        at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycl
eServlet.java(Compiled Code))
        at
com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServle
t.java(Compiled Code))
        at
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java(Co
mpiled Code))
        at
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java(Co
mpiled Code))
        at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletMan
ager.java(Compiled Code))
        at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(W
ebAppRequestDispatcher.java(Compiled Code))
        at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(W
ebAppRequestDispatcher.java(Compiled Code))
        at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequest
Dispatcher.java(Compiled Code))
        at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestD
ispatcher.java(Compiled Code))
        at
com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java(Compil
ed Code))
        at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.
java(Compiled Code))
        at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedIn
vocation.java(Compiled Code))
        at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequ
estProcessor.java(Compiled Code))
        at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener
.java(Compiled Code))
        at
com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.ja
va(Compiled Code))
        at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java(Comp
iled Code))
        at com.ibm.ws.http.HttpConnection.run(HttpConnection.java(Compiled
Code))
        at com.ibm.ws.util.CachedThread.run(ThreadPool.java:137)


Thanks for the tips, I'll let you know what's going on.





Mime
View raw message