cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Kassanke" <kassanke.n...@gmx.de>
Subject Re: Out of memory with JDK
Date Mon, 27 Aug 2001 09:39:29 GMT
Hi chris,

thanks for your quick answer. Currently we are using JVM 1.1.8 under Linux.
The switches are the same you mentioned below. Is this set when I start the
cocoon servlet?

eg. java -Xms128m -Xmx128m <some-cocoon-initialization-classes>


best regards,
Stephan
----- Original Message -----
From: "Chris Newland" <chris.newland@emorphia.com>
To: <cocoon-users@xml.apache.org>
Sent: Friday, August 24, 2001 5:41 PM
Subject: RE: Out of memory with JDK


> Hi Stephan,
>
> java -Xms128m -Xmx128m <classname>
>
> Would set the starting and maximum heap to 128MB. Just change the values
to
> suit your machine.
>
> Which JVM version are you using? Some of the earlier VMs used a different
> switch.
>
> Best Regards,
>
> Chris
>
> > -----Original Message-----
> > From: Stephan Kassanke [mailto:kassanke.news@gmx.de]
> > Sent: 24 August 2001 16:33
> > To: cocoon-users@xml.apache.org
> > Subject: Out of memory with JDK
> >
> >
> > Hi,
> >
> > we have a problem with the JVM which has obviously not enough
> > memory to do a
> > trasnformation to HTML or PDF.
> >
> > I keep getting the error
> >       Cocoon 1.8.2
> >
> >
> >
> >
> >       Error found handling the request.
> > java.lang.Exception: FATAL ERROR: the JVM ran out of memory when
> >  processing the request. The maximum amount of memory used by your VM
> >  can be changed at the command line (consult your JDK documentation)
> >  and may not be at all related to the amount of physical memory
> >  in your machine!
> > at org.apache.cocoon.Engine.handle(Engine.java:435)
> > at org.apache.cocoon.Cocoon.service(Cocoon.java:183)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
> > at
> > org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
> > at org.apache.tomcat.core.Handler.service(Handler.java:286)
> > at
> > org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> > at
> > org.apache.tomcat.core.ContextManager.internalService(ContextManag
> > er.java:79
> > 7)
> > at
> > org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> > at
> > org.apache.tomcat.service.connector.Ajp12ConnectionHandler.process
> > Connection
> > (Ajp12ConnectionHandler.java:166)
> > at
> >
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> > at
> >
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
> > at java.lang.Thread.run(Thread.java)
> >
> >
> >       Warning: this page has been dynamically generated.
> >
> >
> > The problem i have is most probably trivial for most of you. How
> > do I change
> > the amount of memory available for the JVM. I searched the newsgroup and
> > archives with no success yet. can somebody point me to the right
resource.
> >
> > Thanks,
> > Stephan
> >
> > PS.: Isn't this a candidate for the FAQ?
> >
> >
> > ---------------------------------------------------------------------
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> >
> > To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> > For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message