cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorg Heymans>
Subject Re: Out of Memory Exception
Date Tue, 13 Sep 2005 07:47:41 GMT

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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message