cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruce Perryman <bperryman...@yahoo.com>
Subject Re: Out of Memory Exception
Date Thu, 06 Oct 2005 17:36:58 GMT
Hi,

Just wanted to report that I made the modifications
that Jorg suggested, as well as those in the Cocoon
Developers Guide, and I've been running for quite
sometime now without an error being generated.

Thanks a lot for your help.

--- Bruce Perryman <bperryman_us@yahoo.com> wrote:

> Hi,
> 
> Before doing anything else, this is what I've found.
> 
> When I start my machine, about 104M of my 512M RAM
> is
> used when I cat meminfo from /proc (on RH Linux 9.0)
> 
> When I start Tomcat, the meminfo jumps up to about
> 400M and continues to rise. This is without me ever
> issuing any requests. Eventually, it seems that my
> RAM
> limit would be exceeded and that Cocoon would run
> out
> of memory. Something keeps grabbing chunks of
> memory.
> 
> --- Bruce Perryman <bperryman_us@yahoo.com> wrote:
> 
> > Thanks for your post. I will try the CATALINA_OPTS
> > suggestion, then look into profiling.
> > 
> > I've already attempted to make changes to
> > cocoon.xconf
> > for memory considerations.
> > 
> > --- Jorg Heymans <jh@domek.be> wrote:
> > 
> > > 
> > > Bruce Perryman wrote:
> > > > Hi,
> > > > 
> > > > I've searched and seen that others have had
> this
> > > > problem, but I haven't found a posted
> > resolution.
> > > I'm
> > > > sure this will ring a bell here.
> > > > 
> > > > After the application runs for a while, Tomcat
> > > reports
> > > > that Cocoon threw exception
> > > > java.lang.OutOfMemoryError.
> > > > 
> > > 
> > > OOMs are not always happening because of faulty
> > code
> > > or memory leaks,
> > > sometimes your app just needs a bit more memory.
> > For
> > > tomcat, try
> > > increasing the allocated VM memory size :
> > > 
> > > set the CATALINA_OPTS environment var to
> > > -Xms512m -Xmx512m
> > > 
> > > 
> > > If this doesn't help try profiling your code to
> > see
> > > what is not getting
> > > gc collected.
> > > 
> > > 
> > > HTH
> > > Jorg
> > > 
> > > 
> > >
> >
>
---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > users-unsubscribe@cocoon.apache.org
> > > For additional commands, e-mail:
> > > users-help@cocoon.apache.org
> > > 
> > > 
> > 
> > 
> > 
> > 		
> > __________________________________ 
> > Yahoo! Mail - PC Magazine Editors' Choice 2005 
> > http://mail.yahoo.com
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail:
> > users-help@cocoon.apache.org
> > 
> > 
> 
> 
> 
> 		
> __________________________________ 
> Yahoo! Mail - PC Magazine Editors' Choice 2005 
> http://mail.yahoo.com
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail:
> users-help@cocoon.apache.org
> 
> 



		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

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


Mime
View raw message