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 Tue, 13 Sep 2005 13:46:06 GMT
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


Mime
View raw message