« Return to Thread: OutOfMemoryError happening in embedded instance of Tomcat 6 (Apache OFBiz project)

Re: OutOfMemoryError happening in embedded instance of Tomcat 6 (Apache OFBiz project)

by Filip Hanik - Dev Lists :: Rate this Message:

Reply to Author | View in Thread

just use the -XX:+HeapDumpOnOutOfMemoryError and see what is causing the
OOME

Filip

Jacopo Cappellato wrote:

> Hi all,
>
> I am one of the committers and PMC member of the Apache OFBiz project
> (ofbiz.apache.org).
> Our project is using an embedded instance of Tomcat to run the web
> applications that compose the OFBiz suite of ERP applications.
>
> A few weeks ago, with rev. 659490, we have upgraded Tomcat from to
> 5.5.23 to 6.0.16.
> Since then, we have noticed in some production server some
> "OutOfMemoryError: Java heap space" exceptions that make the instances
> pretty unstable after some time they are up.
> My suspect is that we are not creating the Tomcat instance in the
> right way, but I am not sure where is the error... and I'm not sure
> about the question I should ask here.
> However, maybe someone of you could help with some advices or hints.
>
> This is the code we used to create the instance of Tomcat 5.5.23 (that
> was working fine):
>
> http://svn.apache.org/viewvc/ofbiz/trunk/framework/catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java?revision=585848&view=markup 
>
>
> and this is the new code for 6.0.16:
>
> http://svn.apache.org/viewvc/ofbiz/trunk/framework/catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java?view=markup 
>
>
> Thanks so much,
>
> Jacopo
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@...
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@...
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: OutOfMemoryError happening in embedded instance of Tomcat 6 (Apache OFBiz project)