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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to