Re: Memory leak in Tomcat

2012-02-02 Thread Pid
On 01/02/2012 17:10, Moises Alberto Lindo Gutarra wrote: > For this type of error you must tuning your apache tomcat for example like > this: > -server -Xms2048m -Xmx2048m -XX:PermSize=128m -XX:MaxPermSize=256m > in Environment Variable JAVA_OPTS into catalina.sh or catalina.bat Eh? Why will in

RE: Memory leak in Tomcat

2012-02-02 Thread James Annesley
Hi, I am now starting Tomcat with the parameters suggested below and it copes with a redeployment. Tomcat heap: Size: 151,126,016 B Used: 104,701,448 B Max: 2,118,123,520 B Tomcat perm gen: Size: 85,262,336 B Used: 85,148,344 B Max: 85,983,232 B It adds about 20MB to perm gen every redeploym

RE: Memory leak in Tomcat

2012-02-02 Thread James Annesley
Thanks for this - very interesting. I have analysed a memory dump and there are 4698 entries with the ??, i.e., leaking. The data comprises as follows: 1) Most are Static references from a variety of components. 2) I have 73 Java Local Referenc

RE: Memory leak in Tomcat

2012-02-02 Thread James Annesley
Just saw this: https://issues.apache.org/jira/browse/AXIOM-390 From: James Annesley [mailto:[email protected]] Sent: 02 February 2012 12:05 To: [email protected] Subject: RE: Memory leak in Tomcat Thanks for this - very interesting. I have analysed a memory dump and

Re: Memory leak in Tomcat

2012-02-02 Thread Trenton D. Adams
I have seen instances where a library in tomcat itself is the same library I'm using, and it is that library that is holding on to a reference to the class loader of the webapp. Normally, once the classloader is discarded for garbage collection, every reference it holds will also end up being

Re: Memory leak in Tomcat

2012-02-02 Thread Trenton D. Adams
Oh, yes, here's the docs on that. As you can see, you can write a ServletContextListener to unregister the class loader from the logger library. http://wiki.apache.org/commons/Logging/UndeployMemoryLeak So, if you can find that there is something similar in the library you're having a proble

[Axis2] Migrate from Axis1 to Axis2 for CLOSE_WAIT issue?

2012-02-02 Thread senthil.sekar
Hello Team, In our project we have Axis1.2 been integrated with Tomcat5 and used for the past few years. We face CLOSE_WAIT(as in JIRA AXIS2-2883 ) issue and from the release notes of Axis2 1.5.1, it is inferred that the issue is resolved i

Re: [Axis2] Migrate from Axis1 to Axis2 for CLOSE_WAIT issue?

2012-02-02 Thread Sagara Gunathunga
On Fri, Feb 3, 2012 at 10:07 AM, wrote: > Hello Team, > > ** ** > > In our project we have Axis1.2 been integrated with Tomcat5 and used for > the past few years. > > ** ** > > We face CLOSE_WAIT(as in JIRA > AXIS2-2883) > issue and fro

RE: [Axis2] Migrate from Axis1 to Axis2 for CLOSE_WAIT issue?

2012-02-02 Thread senthil.sekar
Hello Sagara, Thanks for the info. Is there an alternative solution with minimal impact (which can be applied ontop of exisiting Axis 1.2 itself) to overcome this CLOSE_WAIT issue? With Regards, Senthil Kumar Sekar From: Sagara Gunathunga [mailto:[email protected]] Sent: Fri

Re: [Axis2] Migrate from Axis1 to Axis2 for CLOSE_WAIT issue?

2012-02-02 Thread Sagara Gunathunga
On Fri, Feb 3, 2012 at 11:45 AM, wrote: > Hello Sagara, > > ** ** > > Thanks for the info. > > ** ** > > Is there an alternative solution with minimal impact (which can be > applied ontop of exisiting Axis 1.2 itself) to overcome this CLOSE_WAIT > issue? > You need to contact axis1-ja