Memory leak in Tomcat

2005-09-12 Thread Ingrid Morterud Rosvall
Hello.

We are running an application on Tomcat 4.1.30, and java 1.4.2.

Our application is using the struts framework with jsp's, and cocoon to
render the xml's. 

There seems to be a major memory leak at startup - the application seems
to constantly be using between 40 - 45 mb of the memory. We also have
some memory leak during runtime, when users log on and starts using the
application.

So far we have not been able to find anything in our code review that
will explain these memory leaks, and when we monitor the memory used,
there is no obvious reason, nor is there any connection with how the
users use our application and the amount of memory being used. 

We would highly appreciate any help on this topic, and any tips and
hints you can provide us with. 

Ingrid and Tommy


-- 
I am using the free version of SPAMfighter for private users.
It has removed 4102 spam emails to date.
Paying users do not have this message in their emails.
Try www.SPAMfighter.com for free now!



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Memory leak in Tomcat

2005-09-12 Thread Ingrid Morterud


Hi,

On my test environment I am just on 64 Mb of memory. I know I can
increase that - but that still will not fix my initial problem. 

My application is using 40 - 45 Mb - and that is more than I thought it
should use. 

At the moment I have no JAVA_OPTS. 

Thanks for trying to help. :-)

Ingrid and Tommy

-Original Message-
From: Mark [mailto:[EMAIL PROTECTED] 
Sent: 12. september 2005 22:36
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: Memory leak in Tomcat


Hi,
Can you share how much memory do you have and how much used by tomcat
and what JAVA_OPTs do you have.

Thanks a lot,
Mark.

--- Michael Oliver [EMAIL PROTECTED] wrote:

 Ingrid,
 
 I am not on the tomcat developer committer list so my reply is just an
 FYI from my own experience.
 
 I saw unstable performance myself in a very similar deployment of
 Struts applications similar to yours.  I too thought there was a 
 memory leak and
 there may be, but I don't think it is in the applications
 themselves.  The
 behavior I saw, led me to think it was related to socket allocation
 as after
 a period of time my system began to complain and slow down and
 other socket
 related programs began to complain about timeouts, etc.
 
 I found that my tomcat needed to use virtual memory to avoid out of
 memory exceptions.  I added physical memory and the problems all but 
 went away,
 however it still occurs just less frequently.
 
 I am using
 
 j2sdk1.4.2_09
 Tomcat-5.0.28
 
 On Windows XP Pro sp1
  
 
 
 Michael Oliver
 CTO
 Alarius Systems LLC
 6800 E. Lake Mead Blvd, #1096
 Las Vegas, NV 89156
 Phone:(702)643-7425
 Fax:(702)974-0341
 *Note new email changed from [EMAIL PROTECTED]
 
 -Original Message-
 From: Ingrid Morterud Rosvall [mailto:[EMAIL PROTECTED]
 Sent: Monday, September 12, 2005 1:00 PM
 To: tomcat-user@jakarta.apache.org
 Subject: Memory leak in Tomcat
 
 Hello.
 
 We are running an application on Tomcat 4.1.30, and java 1.4.2.
 
 Our application is using the struts framework with jsp's, and cocoon
 to render the xml's.
 
 There seems to be a major memory leak at startup - the application
 seems to constantly be using between 40 - 45 mb of the memory. We also

 have some
 memory leak during runtime, when users log on and starts using the
 application.
 
 So far we have not been able to find anything in our code review that
 will explain these memory leaks, and when we monitor the memory used,
 there is no
 obvious reason, nor is there any connection with how the users use
 our
 application and the amount of memory being used. 
 
 We would highly appreciate any help on this topic, and any tips and
 hints you can provide us with.
 
 Ingrid and Tommy
 
 
 --
 I am using the free version of SPAMfighter for private users. It has
 removed 4102 spam emails to date. Paying users do not have this 
 message in their emails. Try www.SPAMfighter.com for free now!
 
 
 

-
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-- 
I am using the free version of SPAMfighter for private users. It has
removed 4102 spam emails to date. Paying users do not have this message
in their emails. Try www.SPAMfighter.com for free now!



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]