Hi,
I'm looking for a free tool to monitor my application on Tomcat
5.0.28? I don't see any changes in memory use on RH9 - but the load
is too low. What I'd like to test:
- high load
- potential memory leaks
- etc.
I'd rather to have a tool which have a minimum impact on performance,
but any tool
PROTECTED]
Sent: Wednesday, May 12, 2004 12:19 AM
To: Tomcat Users List
Subject: Re: [ANN] The Reference Scanner and Jakarta Tomcat - Heap
Profiling, Memory Leaks
Jacob Kjome wrote:
At 11:47 PM 5/11/2004 -0400, you wrote:
Joerg Baumgaertel wrote:
Hi all,
because often requested,
I added
Quoting Joseph Shraibman [EMAIL PROTECTED]:
Jacob Kjome wrote:
At 11:47 PM 5/11/2004 -0400, you wrote:
Joerg Baumgaertel wrote:
Hi all,
because often requested,
I added a Jakarta-Tomcat-Howto to the 'jb2works.com' website.
You find the following documents
- How to scan a Java
Joerg Baumgaertel wrote:
Hi all,
because often requested,
I added a Jakarta-Tomcat-Howto to the 'jb2works.com' website.
You find the following documents
- How to scan a Java webapplication
http://jb2works.com/refscan/tomcat.html
- How to scan Jakarta-Tomcat full-space
At 11:47 PM 5/11/2004 -0400, you wrote:
Joerg Baumgaertel wrote:
Hi all,
because often requested,
I added a Jakarta-Tomcat-Howto to the 'jb2works.com' website.
You find the following documents
- How to scan a Java webapplication
http://jb2works.com/refscan/tomcat.html
- How to scan
Jacob Kjome wrote:
At 11:47 PM 5/11/2004 -0400, you wrote:
Joerg Baumgaertel wrote:
Hi all,
because often requested,
I added a Jakarta-Tomcat-Howto to the 'jb2works.com' website.
You find the following documents
- How to scan a Java webapplication
http://jb2works.com/refscan/tomcat.html
- How
the Reference Scanner itself,
[From Announcement in c.l.j.p]
The Reference Scanner
Use this memory profiler .jar to inspect your running Java application
from your web browser. Get heap snapshots and snapshot diffs. Find
memory leaks. Analyze the reference graph for objects kept in memory.
Do
Hello All,
Just wondering what you think is the best App for Finding Memory leaks in
WebApps running on Tomcat
Is Jprobe the consensus?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hi,
Just wondering what you think is the best App for Finding Memory leaks
in
WebApps running on Tomcat
Is Jprobe the consensus?
Far from it. OptimizeIt and JProbe are probably the leaders among the
$$$ options with equal popularity. I like OptimizeIt better but both
are good
Thanks Yoav,
So if price was not a consideration, which would you go with?
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 16, 2004 2:51 PM
To: Tomcat Users List
Subject: RE: Best App for Finding Memory leaks in WebApps running on Tomcat
Hi
/
Yoav Shapira
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 16, 2004 2:51 PM
To: Tomcat Users List
Subject: RE: Best App for Finding Memory leaks in WebApps running on
Tomcat
Hi,
Just wondering what you think is the best App for Finding Memory
2:51 PM
To: Tomcat Users List
Subject: RE: Best App for Finding Memory leaks in WebApps running on Tomcat
Hi,
Just wondering what you think is the best App for Finding Memory leaks
in
WebApps running on Tomcat
Is Jprobe the consensus?
Far from it. OptimizeIt and JProbe
Does anyone know that when Garbage Collection is going on how often it should be set
to collect and if memory is really being returned. I believe that the memory is not,
but how can I check to determine that???
Christian Witucki
Network Analyst
375 Essjay Road
Williamsville, NY 14221
Howdy,
Enable verbose GC (see Java VM Options for how to do this).
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Christian Witucki [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 14, 2004 9:00 AM
To: [EMAIL PROTECTED]
Subject: Memory Leaks
Does anyone know
I've been looking at this this week and have resolved that we need to buy a JVM
Profiler, prob. JProfiler.
-Original Message-
From: Christian Witucki [mailto:[EMAIL PROTECTED]
Sent: 14 January 2004 14:00
To: [EMAIL PROTECTED]
Subject: Memory Leaks
Does anyone know that when Garbage
I have a problem with memory leak.
You have see my message BIG PROBLEM // LINUX TOMCAT SSL ?
-Message d'origine-
De : Christian Witucki [mailto:[EMAIL PROTECTED]
Envoy : mercredi 14 janvier 2004 15:00
: [EMAIL PROTECTED]
Objet : Memory Leaks
Does anyone know that when Garbage
My understanding is that the GC runs on a low-priority
thread, so you never get to tell it when to run. The
operating system and JVM deal with it.
I also recall reading that memory is returned to the
JVM, but not released back to the OS. So if you're
watching Memory Usage in the Windows Task
: Michael Duffy [mailto:[EMAIL PROTECTED]
Sent: 14 January 2004 14:07
To: Tomcat Users List
Subject: Re: Memory Leaks
My understanding is that the GC runs on a low-priority
thread, so you never get to tell it when to run. The
operating system and JVM deal with it.
I also recall reading
at www.java.sun.com
Hope this helps
Pete
-Original Message-
From: Michael Duffy [mailto:[EMAIL PROTECTED]
Sent: 14 January 2004 14:07
To: Tomcat Users List
Subject: Re: Memory Leaks
My understanding is that the GC runs on a low-priority
thread, so you never get to tell it when to run
Hi!
Shapira, Yoav wrote:
This is a common misconception: System.gc() is merely a suggestion to
the VM to run collection. The VM is not obliged to run it then, i.e.
this is not a hard directive. It should never be relied upon. With JDK
1.4, there's a runtime parameter to ignore System.gc()
()) This indicated, that
(with that specific vm) the call to gc() did
something.
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 14, 2004 3:43 PM
To: Tomcat Users List
Subject: RE: Memory Leaks
This is a common misconception: System.gc
Yoav,
With JDK
1.4, there's a runtime parameter to ignore System.gc() calls and that
parameter may be on by default in the future.
What is this parameter? I've never seen it before...
-chris
-
To unsubscribe, e-mail: [EMAIL
Howdy,
With JDK
1.4, there's a runtime parameter to ignore System.gc() calls and that
parameter may be on by default in the future.
What is this parameter? I've never seen it before...
-chris
-XX:+DisableExplicitGC is the parameter, which I believe has been
available since JDK 1.4.0.
Yoav,
With JDK
1.4, there's a runtime parameter to ignore System.gc() calls and that
parameter may be on by default in the future.
What is this parameter? I've never seen it before...
-XX:+DisableExplicitGC is the parameter, which I believe has been
available since JDK 1.4.0.
Wow, I didn't know
http://java.sun.com/docs/hotspot/VMOptions.html
-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 14, 2004 4:17 PM
To: Tomcat Users List
Subject: Re: Memory Leaks
Wow, I didn't know that -XX parameters existed. Where can I get more
Users List [EMAIL PROTECTED]
cc:
Vedr.: Re: Memory Leaks
Yoav,
With JDK
1.4, there's a runtime parameter to ignore System.gc() calls and that
parameter may be on by default in the future.
What is this parameter? I've never seen it before...
-XX:+DisableExplicitGC
Thomas,
sorry for interrupting but if you into optimizing your JVM setting as well
as explorings its options I would recommend:
Perhaps some of the more savvy developers can give more directions.
Thanks for the pointers. Actually, I'm not having any performance
problems at the moment :)
As
: Tomcat Users List
Objet : Re: RE : memory-leaks in servlets, tool for tracing ?
Laurent,
What about classes with static method and/or static attributes ?
Are they deleted from the old webapp ?
I don't believe that the VM ever releases resources taken up by Class
objects (I think this includes
Howdy,
context-reload occurs. The solution, of course, is not to enable
context-reloading on production :)
This is very good advice.
Yoav Shapira
This e-mail, including any attachments, is a confidential business communication, and
may contain information that is confidential, proprietary
Laurent,
When does a class reload occur ?
I was talking about a context re-load, which dumps everything in the
context and re-starts it in a new ClassLoader.
When u update a JSP ?
Yes, the class gets re-loaded, but not the whole context. This is much
less of a problem.
When u update a class ?
Christopher,
thanks for your comprehensive response !
See more comments down ...
- Original Message -
From: Christopher Schultz [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 3:29 PM
Subject: Re: memory-leaks in servlets, tool for tracing
if there are easier memory leaks to find. Adding JNI and the
VM on top of all that it tough.
Some profiles claim to allow you to watch native code as well as Java
code (which sounds really cool!), but again they are expensive. You can
use gdb and clever use of tests that are likely to break your code
your app so much memory, make GC run more
often, and track the %free instead of just total process image memory
via the top command. You need to find it if there are memory leaks, of
if the memory increase is legitimate, e.g. due to high usage.
I'd highly recommend testing your native library
Yoav,
You make a great point about how the app should stabilize it's memory
usage over time. However, I've got a question about memory usage when I
stop (via Tomcat manager) and reload a webapp via a WAR file. If I
understand your point, and I'm close to the max heap size, shouldn't GC
free
Howdy,
You make a great point about how the app should stabilize it's memory
usage over time. However, I've got a question about memory usage when I
stop (via Tomcat manager) and reload a webapp via a WAR file. If I
understand your point, and I'm close to the max heap size, shouldn't GC
free up
What about classes with static method and/or static attributes ?
Are they deleted from the old webapp ?
-Message d'origine-
De : Shapira, Yoav [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 5 novembre 2003 15:57
À : Tomcat Users List
Objet : RE: memory-leaks in servlets, tool for tracing
Objet : RE : memory-leaks in servlets, tool for tracing ?
What about classes with static method and/or static attributes ?
Are they deleted from the old webapp ?
-Message d'origine-
De : Shapira, Yoav [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 5 novembre 2003 15:57
À : Tomcat Users List
-Original Message-
From: Laurent Michenaud [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 10:59 AM
To: Tomcat Users List
Subject: RE : RE : memory-leaks in servlets, tool for tracing ?
It would be good if some of you writes an kind of howTo
that shows :
- a webapp with a memory
Laurent,
What about classes with static method and/or static attributes ?
Are they deleted from the old webapp ?
I don't believe that the VM ever releases resources taken up by Class
objects (I think this includes static resources for a class). There used
to be a VM option, -noclassgc, that was
hi everybody,
our TC-based webapplication performs well but the java-processes concerned are showing
increasing memory usage over time. For tracing we already stripped the app down to the
very basic to get a clue. Wasn't successful enough.
Does anybody's got experience with a profiling toolkit
Howdy,
I like OptimizeIt's heap snapshots.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Dirk Griesbach [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 4:03 AM
To: Tomcat Users List
Subject: memory-leaks in servlets, tool for tracing ?
hi everybody,
our
Grisi,
our TC-based webapplication performs well but the java-processes
concerned are showing increasing memory usage over time. For tracing
we already stripped the app down to the very basic to get a clue.
Wasn't successful enough.
Have you looked at the memory over a long time, including
15 emails, I'm gonna go back to the first:
I seemed to have read that java/tomcat isn't
supposed to have memory leaks,
AND
So where do I start looking for the problem?
If I forget to close Statements would that cause the
problem?
So first of all, Java has built-in memory
But depending on the DB, it can cause problems from the DB with too many
open ResultSets... I had an issue with performance testing where everything
but ResultSets were being closed and the Oracle DB started throwing errors
after about 500 queries. Better safe than sorry.
Well, from what I
The JDBC spec states that when a connection is closed, all dependent assets
should also be closed. So if you are using a pool, make sure your pool is
compliant since the connection is never closed until the pool closes it.
When garbage collection runs is a whole different story. But its just
An: Tomcat Users List
Betreff: Re: Memory leaks?
The JDBC spec states that when a connection is closed, all
dependent assets
should also be closed. So if you are using a pool, make sure
your pool is
compliant since the connection is never closed until the pool
closes it.
When
Tim Funk wrote:
The JDBC spec states that when a connection is closed, all dependent
assets should also be closed. So if you are using a pool, make sure your
pool is compliant since the connection is never closed until the pool
closes it.
So, that means that if you have a pool of ten
It depends. If your webapp calls connection.close(), then the result sets
*should* be closed.
But that is based one of the following assumptions:
- Your connection is the actual db connection and the driver is JDBC compliant
- The connection is a facade to the actual connection for the sake of
It's simple good practice to close objects that have close methods when you
no longer need them (as you do with stream objects, for example).
The spec says that ResultSet objects are closed when their Statement objects
are closed and that Statement objects are closed when their Connection
objects
Millennium ChemInformatics
-Original Message-
From: Greg Ward [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2003 10:05 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: Memory leaks?
On 03 September 2003, Jim Lynch said:
OK, that's probably what's going on. I know I
After about 15 emails, I'm gonna go back to the first:
I seemed to have read that java/tomcat isn't
supposed to have memory leaks,
AND
So where do I start looking for the problem?
If I forget to close Statements would that cause the
problem?
So first of all, Java has built-in memory
about 15 emails, I'm gonna go back to the first:
I seemed to have read that java/tomcat isn't
supposed to have memory leaks,
AND
So where do I start looking for the problem?
If I forget to close Statements would that cause the
problem?
So first of all, Java has built-in memory
, they
are just freed at different times. If you get a out of memory
error, there rn't any object that can be freed.
-Original Message-
From: Richard Hill [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 03, 2003 7:40 PM
To: 'Tomcat Users List'
Subject: RE: Memory leaks?
Try
?
Thanks
Alain
-Message d'origine-
De : Paul [mailto:[EMAIL PROTECTED]
Envoyé : mercredi, 3. septembre 2003 21:28
À : Tomcat Users List
Objet : Re: Memory leaks?
Docs indicate that leaving a stmt or rs object open can cause memory leaks.
Found the following in the tomcat docs somewhere, i
: Thursday, September 04, 2003 2:00 AM
To: Tomcat Users List
Subject: RE: Memory leaks?
In my experience this is not a good recommendation:
- -server is less stable than -client in all JDK's that I tried,
and this has been confirmed by several list members.
- -server won't help much on out
On 03 September 2003, Jim Lynch said:
OK, that's probably what's going on. I know I should close Statements
and Connections and do normally but I'm fairly certain I've some out
there dangling. I didn't know you had to close ResultSets, however.
Glad to know that.
You don't have to close
-
From: Greg Ward [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2003 10:05 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: Memory leaks?
On 03 September 2003, Jim Lynch said:
OK, that's probably what's going on. I know I should close
Statements
and Connections and do normally
-
From: Greg Ward [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2003 9:05 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: Memory leaks?
On 03 September 2003, Jim Lynch said:
OK, that's probably what's going on. I know I should close Statements
and Connections and do
I seemed to have read that java/tomcat isn't supposed to have memory
leaks, but something seems to be running me out of memory and I don't
know what.
After a number of edit/undeploy/compile/deploy iterations I get the
following:
javax.servlet.ServletException: Servlet execution threw
Try passing the jvm the -server option
-Original Message-
From: Jim Lynch [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 03, 2003 9:57 AM
To: tomcat
Subject: Memory leaks?
I seemed to have read that java/tomcat isn't supposed to have memory
leaks, but something seems to be running
Docs indicate that leaving a stmt or rs object open can cause memory leaks.
Found the following in the tomcat docs somewhere, i think:
Here is an example of properly written code to use a db connection obtained
from a connection pool:
Connection conn = null;
Statement stmt = null
object open can cause memory leaks.
Found the following in the tomcat docs somewhere, i think:
Here is an example of properly written code to use a db connection obtained
from a connection pool:
Connection conn = null;
Statement stmt = null; // Or PreparedStatement if needed
ChemInformatics
-Original Message-
From: Robert Abbate [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 12:06 AM
To: [EMAIL PROTECTED]
Subject: Tomcat Memory leaks!
Importance: High
Hi. It seems Tomcat (4.1.24) has a major memory leak, and I wanted to
bring
it to the developers
, June 02, 2003 10:06 PM
To: [EMAIL PROTECTED]
Subject: Tomcat Memory leaks!
Importance: High
Hi. It seems Tomcat (4.1.24) has a major memory leak, and I wanted to bring
it to the developers attention so they can check it out.
I run a shared hosting server (Mandrake 8.2, Apache 1.3) with virtual hosts
Hi. It seems Tomcat (4.1.24) has a major memory leak, and I wanted to bring
it to the developers attention so they can check it out.
I run a shared hosting server (Mandrake 8.2, Apache 1.3) with virtual hosts.
I have 1 Gig of RAM and about 50 virtual hosts and yet I keep getting Out of
Memory
to
jikes forked compiles went away...
Hope that helps.
Cheers,
Alex.
-Original Message-
From: Robert Abbate [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 3 June 2003 2:06 PM
To: [EMAIL PROTECTED]
Subject: Tomcat Memory leaks!
Importance: High
Hi. It seems Tomcat (4.1.24) has a major memory
Memory leaks!
Try the option to fork off the JSP compiles (or even use Jikes to compile).
There seems to be a problem with compiling of JSPs that does not use the
usual memory you can allocate with the -Xmx type flag... maybe one of the
guru's can explain this.. but we had similar problem
Memory leaks!
Hi. I honestly have no idea what you are talking about. Can you explain what
needs to be done for this? You talking about changing `javac`? Thanks
-Original Message-
From: Alex Burton [mailto:[EMAIL PROTECTED]
Sent: Monday, June 02, 2003 11:12 PM
To: Tomcat Users List
Subject: RE
: Tomcat Memory leaks!
Have a look here:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html
In your tomcat_home/conf/web.xml you can modify the
following like this (assuming you have Jikes installed):
servlet
servlet-namejsp/servlet-name
servlet
than 10,000 ).
When attempting to do some logging I got a (Too may open files) exception.
Well I changed out the mssqlserver jdbc to an existing JTurbo jdbc license
we had and the problem went away.
So needless to say there are memory leaks in the microsoft jdbc drivers.
I was pulling my hair
Hi,
Tomcat 4.0.2 release notes mention a javac memory leak. I checked the
archive, but it wasn't clear whether the memory leak problem is a javac
(as
distributed by SUN in a JDK release) is the root cause. Could someone
confirm the javac memory leak problem is tomcat specific or a JDK
Hi Remy,
Do you have a link to a javasoft bug report for the javac memory leak? Thanks.
Anh
At 05:30 PM 2/11/2002 -0800, Remy Maucherat wrote:
Hi,
Tomcat 4.0.2 release notes mention a javac memory leak. I checked the
archive, but it wasn't clear whether the memory leak problem is a
Humm... Did you try the lastest nightly build ? I just happen to have the
exact same configuration ( except the kernel ) and everything is running
perfectly, much much better than in Tomcat 3.2.4 by the way. ( I strongly
recommend the upgrade to everybody !! )
On Sat, 22 Dec 2001 12:52:24
I've installed Tomcat 3.3 in my linux box
After a fresh boot, tomcat launched and NO web application running, I can
see that the tomcat user memory is growing regulary by watching Top.
Why ?
Mandake Linux 7.2 with 2.4.16 kernel (not 2.2.16)
Apache 1.3.19
Tomcat 3.3
IBMJava2-13
Dom
--
To
74 matches
Mail list logo