You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Niket Anand <ni...@npi.stpn.soft.net> on 2002/06/10 19:50:33 UTC
java.lang.OutOfMemoryError ------help pls
Hi All,
I am getting this error when running cocoon-2.0.2 with tomcat-4.0.3.
Earlier it was working fine with cocoon-2.0 and tomcat-4.0.1
What could the problem after shifting to higher version of cocoon and
tomcat?
This might the problem related to the size of sub-sitemap.So how can I get
rid of this?
Please help me....
Thanks,
Niket
I am getting following error in error.log
ERROR (2002-06-10) 20:39.25:421 [sitemap](/cocoon/qmanager/MessageQView)
HttpProcessor[8080][3]/sitemap_xmap: Sitemap
org.apache.cocoon.ProcessingException: Error compiling sitemap:
java.lang.OutOfMemoryError
at org.apache.cocoon.sitemap.Handler.run(Handler.java:295)
at java.lang.Thread.run(Thread.java:484)
java.lang.OutOfMemoryError
<<no stack trace available>>
java.lang.OutOfMemoryError
<<no stack trace available>>
ERROR (2002-06-10) 20:39.25:421 [access](/cocoon/qmanager/MessageQView)
HttpProcessor[8080][3]/CocoonServlet: Problem with servlet
org.apache.cocoon.ProcessingException: Error compiling sitemap:
java.lang.OutOfMemoryError
at org.apache.cocoon.sitemap.Handler.run(Handler.java:295)
at java.lang.Thread.run(Thread.java:484)
java.lang.OutOfMemoryError
<<no stack trace available>>
java.lang.OutOfMemoryError
<<no stack trace available>>
> Cocoon 2 - Internal server error
>
> --------------------------------------------------------------------------
--
> ----
>
> type fatal
>
> message Error compiling sitemap
>
> description org.apache.cocoon.ProcessingException: Error compiling
sitemap:
> java.lang.OutOfMemoryError
>
> source Cocoon servlet
>
> stack-trace
>
> org.apache.cocoon.ProcessingException: Error compiling sitemap:
> java.lang.OutOfMemoryError
> at org.apache.cocoon.sitemap.Handler.run(Handler.java:295)
> at java.lang.Thread.run(Thread.java:484)
> java.lang.OutOfMemoryError
> <>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: java.lang.OutOfMemoryError ------help pls
Posted by yuryx <yu...@mobicomk.donpac.ru>.
Hi Roger.
Now 128M is the maximum memory for heap size I can use.
following settings in cocoon.xconf:
<store-janitor
class="org.apache.cocoon.components.store.StoreJanitorImpl"
logger="core.store.janitor">
<!-- How much free memory shall be available in the jvm
-->
<parameter name="freememory" value="5000000"/>
<!-- Indicates the limit of the jvm memory consumption. The default
max
heapsize for Sun's JVM is 64Mb -->
<parameter name="heapsize" value="134217728"/><!-- heapsize now is
128M -->
<!-- How often shall the cleanup thread check memory -->
<parameter name="cleanupthreadinterval" value="10"/>
<!-- Indicates the thread priority of the cleanup thread -->
<parameter name="threadpriority" value="5"/>
<!-- How much percent of the elements of each registered Store shall
be removed when low on memory. Default 10% -->
<parameter name="percent_to_free" value="10"/>
</store-janitor>
Yury.
Roger I Martin PhD wrote:
>How much memory do you have?
>
>Can you set the memory usage up on the tomcat command line?
>-ms128M -mx256M
>or higher.
>
>-Roger
>----- Original Message -----
>From: "yuryx" <yu...@mobicomk.donpac.ru>
>To: <co...@xml.apache.org>
>Sent: Tuesday, June 11, 2002 6:26 AM
>Subject: Re: java.lang.OutOfMemoryError ------help pls
>
>
>>Hi Niket.
>>I have the same symptoms while access to subsitemaps :(
>>(cocoon2.0.2 on tomcat4.0.4-b1)
>>Yury.
>>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: java.lang.OutOfMemoryError ------help pls
Posted by Roger I Martin PhD <hy...@hypernexinc.com>.
How much memory do you have?
Can you set the memory usage up on the tomcat command line?
-ms128M -mx256M
or higher.
-Roger
----- Original Message -----
From: "yuryx" <yu...@mobicomk.donpac.ru>
To: <co...@xml.apache.org>
Sent: Tuesday, June 11, 2002 6:26 AM
Subject: Re: java.lang.OutOfMemoryError ------help pls
> Hi Niket.
> I have the same symptoms while access to subsitemaps :(
> (cocoon2.0.2 on tomcat4.0.4-b1)
> Yury.
>
> Niket Anand wrote:
>
> >Hi Vadim,
> >I have tried it on Tomcat 4.0.4b3. Even though it is showing same
problem.
> >How can I deal with this error as it is demotivating factor in accepting
> >cocoon higher version.
> >Thanks for replying.
> >Niket
> >----- Original Message -----
> >From: "Vadim Gritsenko" <va...@verizon.net>
> >To: <co...@xml.apache.org>
> >Sent: Monday, June 10, 2002 11:36 PM
> >Subject: RE: java.lang.OutOfMemoryError ------help pls
> >
> >
> >>Try tomcat 4.0.4.
> >>
> >>
> >>Vadim
> >>
>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: java.lang.OutOfMemoryError ------help pls
Posted by yuryx <yu...@mobicomk.donpac.ru>.
Hi Niket.
I have the same symptoms while access to subsitemaps :(
(cocoon2.0.2 on tomcat4.0.4-b1)
Yury.
Niket Anand wrote:
>Hi Vadim,
>I have tried it on Tomcat 4.0.4b3. Even though it is showing same problem.
>How can I deal with this error as it is demotivating factor in accepting
>cocoon higher version.
>Thanks for replying.
>Niket
>----- Original Message -----
>From: "Vadim Gritsenko" <va...@verizon.net>
>To: <co...@xml.apache.org>
>Sent: Monday, June 10, 2002 11:36 PM
>Subject: RE: java.lang.OutOfMemoryError ------help pls
>
>
>>Try tomcat 4.0.4.
>>
>>
>>Vadim
>>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: java.lang.OutOfMemoryError ------help pls
Posted by Niket Anand <ni...@npi.stpn.soft.net>.
Hi Vadim,
I have tried it on Tomcat 4.0.4b3. Even though it is showing same problem.
How can I deal with this error as it is demotivating factor in accepting
cocoon higher version.
Thanks for replying.
Niket
----- Original Message -----
From: "Vadim Gritsenko" <va...@verizon.net>
To: <co...@xml.apache.org>
Sent: Monday, June 10, 2002 11:36 PM
Subject: RE: java.lang.OutOfMemoryError ------help pls
> Try tomcat 4.0.4.
>
>
> Vadim
>
>
> > From: Niket Anand [mailto:niketanand@npi.stpn.soft.net]
> >
> > Hi All,
> > I am getting this error when running cocoon-2.0.2 with tomcat-4.0.3.
> > Earlier it was working fine with cocoon-2.0 and tomcat-4.0.1
> > What could the problem after shifting to higher version of cocoon and
> > tomcat?
> > This might the problem related to the size of sub-sitemap.So how can
> I get
> > rid of this?
> > Please help me....
> >
> > Thanks,
> > Niket
> >
> > I am getting following error in error.log
> >
> > ERROR (2002-06-10) 20:39.25:421
> [sitemap](/cocoon/qmanager/MessageQView)
> > HttpProcessor[8080][3]/sitemap_xmap: Sitemap
> > org.apache.cocoon.ProcessingException: Error compiling sitemap:
> > java.lang.OutOfMemoryError
> > at org.apache.cocoon.sitemap.Handler.run(Handler.java:295)
> > at java.lang.Thread.run(Thread.java:484)
> > java.lang.OutOfMemoryError
> > <<no stack trace available>>
> > java.lang.OutOfMemoryError
> > <<no stack trace available>>
> > ERROR (2002-06-10) 20:39.25:421
> [access](/cocoon/qmanager/MessageQView)
> > HttpProcessor[8080][3]/CocoonServlet: Problem with servlet
> > org.apache.cocoon.ProcessingException: Error compiling sitemap:
> > java.lang.OutOfMemoryError
> > at org.apache.cocoon.sitemap.Handler.run(Handler.java:295)
> > at java.lang.Thread.run(Thread.java:484)
> > java.lang.OutOfMemoryError
> > <<no stack trace available>>
> > java.lang.OutOfMemoryError
> > <<no stack trace available>>
> >
> >
> >
> > > Cocoon 2 - Internal server error
> > >
> > >
> ------------------------------------------------------------------------
> --
> > --
> > > ----
> > >
> > > type fatal
> > >
> > > message Error compiling sitemap
> > >
> > > description org.apache.cocoon.ProcessingException: Error compiling
> > sitemap:
> > > java.lang.OutOfMemoryError
> > >
> > > source Cocoon servlet
> > >
> > > stack-trace
> > >
> > > org.apache.cocoon.ProcessingException: Error compiling sitemap:
> > > java.lang.OutOfMemoryError
> > > at org.apache.cocoon.sitemap.Handler.run(Handler.java:295)
> > > at java.lang.Thread.run(Thread.java:484)
> > > java.lang.OutOfMemoryError
> > > <>
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> >
> > To unsubscribe, e-mail: <co...@xml.apache.org>
> > For additional commands, e-mail: <co...@xml.apache.org>
>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: java.lang.OutOfMemoryError ------help pls
Posted by Vadim Gritsenko <va...@verizon.net>.
Try tomcat 4.0.4.
Vadim
> From: Niket Anand [mailto:niketanand@npi.stpn.soft.net]
>
> Hi All,
> I am getting this error when running cocoon-2.0.2 with tomcat-4.0.3.
> Earlier it was working fine with cocoon-2.0 and tomcat-4.0.1
> What could the problem after shifting to higher version of cocoon and
> tomcat?
> This might the problem related to the size of sub-sitemap.So how can
I get
> rid of this?
> Please help me....
>
> Thanks,
> Niket
>
> I am getting following error in error.log
>
> ERROR (2002-06-10) 20:39.25:421
[sitemap](/cocoon/qmanager/MessageQView)
> HttpProcessor[8080][3]/sitemap_xmap: Sitemap
> org.apache.cocoon.ProcessingException: Error compiling sitemap:
> java.lang.OutOfMemoryError
> at org.apache.cocoon.sitemap.Handler.run(Handler.java:295)
> at java.lang.Thread.run(Thread.java:484)
> java.lang.OutOfMemoryError
> <<no stack trace available>>
> java.lang.OutOfMemoryError
> <<no stack trace available>>
> ERROR (2002-06-10) 20:39.25:421
[access](/cocoon/qmanager/MessageQView)
> HttpProcessor[8080][3]/CocoonServlet: Problem with servlet
> org.apache.cocoon.ProcessingException: Error compiling sitemap:
> java.lang.OutOfMemoryError
> at org.apache.cocoon.sitemap.Handler.run(Handler.java:295)
> at java.lang.Thread.run(Thread.java:484)
> java.lang.OutOfMemoryError
> <<no stack trace available>>
> java.lang.OutOfMemoryError
> <<no stack trace available>>
>
>
>
> > Cocoon 2 - Internal server error
> >
> >
------------------------------------------------------------------------
--
> --
> > ----
> >
> > type fatal
> >
> > message Error compiling sitemap
> >
> > description org.apache.cocoon.ProcessingException: Error compiling
> sitemap:
> > java.lang.OutOfMemoryError
> >
> > source Cocoon servlet
> >
> > stack-trace
> >
> > org.apache.cocoon.ProcessingException: Error compiling sitemap:
> > java.lang.OutOfMemoryError
> > at org.apache.cocoon.sitemap.Handler.run(Handler.java:295)
> > at java.lang.Thread.run(Thread.java:484)
> > java.lang.OutOfMemoryError
> > <>
> >
>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>