Diagnosing Tomcat memory usage

2007-10-10 Thread Andrew Hole
I've an java application running under tomcat and in the last week
memory usage increase 50%, from 200M to 400M. I want to know exactly
why this happens. Some suggestion?

Thanks a lot

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Diagnosing Tomcat memory usage

2007-10-10 Thread Lyallex
Try Lambda Probe as recommended by other contributors to this list.

http://www.lambdaprobe.org/d/index.htm

I'm no expert with this tool but it's straightforward to install and I
think it may help you out a bit. The System Information/Memory
Utilization thing is particularly fascinating although I don't fully
understandthe output yet.

I also used the JProbe profiller some time ago to profile a running
instance of Weblogic, it had a fantastic real time heap analysis tool
that shows you exactly what's happening at runtime ... 2 million
String objects, where the heck did they come from ? It's not free
though as far as I know.

It might help




On 10/10/07, Andrew Hole [EMAIL PROTECTED] wrote:
 I've an java application running under tomcat and in the last week
 memory usage increase 50%, from 200M to 400M. I want to know exactly
 why this happens. Some suggestion?

 Thanks a lot

 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Diagnosing Tomcat memory usage

2007-10-10 Thread Filip Hanik - Dev Lists

plug in a profiler,
I use www.yourkit.com, you can get memory stats, like the ones you wish 
for, live.

other profilers will do the job as well
Filip

Andrew Hole wrote:

I've an java application running under tomcat and in the last week
memory usage increase 50%, from 200M to 400M. I want to know exactly
why this happens. Some suggestion?

Thanks a lot

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



  



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]