I have a fairly small memory leak in a servlet (Tomcat 6.0) running on a
Windows 2003 server. I have been looking into memory profiling to help me
find the leak but nothing seems to be or do what I need. Simply put I want a
list of all of the objects/primitives (and if possible their values) that
Chris,
| If I close the resultset AND the statement, then the connector
| should release all the objects created by those two. The connection is,
| after all, just a pipe between the database and the java code. The
| connector should not (IMO) be hanging on to statement or resultset
| objects j
Richard,
Richard S. Huntrods wrote:
| Everything is local except the pooled connections, so I would say this
| is the problem. This code was originally written before tomcat had good
| connection pools, and so I had to write my own. The pool is basically a
| vector of connections.
I wouldn
Richard,
Richard S. Huntrods wrote:
|> Richard,
|>
|> Richard S. Huntrods wrote:
|> |public static Vector listLookup(String table) {
|> | //Connection connection = null; // connection is managed
by a
|> | connection pool
|>
|> So, is 'connection'
Richard,
Richard S. Huntrods wrote:
|public static Vector listLookup(String table) {
| //Connection connection = null; // connection is managed by a
| connection pool
So, is 'connection' a local or not?
It's part of my code (I use my own connection pool class) but n
Chris,
Richard,
Richard S. Huntrods wrote:
| In my code I was calling resultSet.close(), but not statement.close().
That'll do it.
Actually, fixing it did NOT help. See more below...
| The problem is, even though I verified (debug statements) that the call
| is being made, the memo
Well, thanks to Lamda probe and then to jmap, I have found my memory
leak. Here are the gory details in case anyone is interested. It's not
really a Tomcat issue, but rather the boundary between Tomcat and MySQL:
I have a memory leak in my application, and jmap shows me that all my
objects of
To Ben & Mark,
Thanks for the replies. I've been trying various things based on your
suggestions. I find my best tool at the moment is "Lambda Probe" -
though it hasn't been updated in a while, it does show me all the things
(for the most part) that I wanted to watch.
There's definitely some
I've been running Tomcat for many versions now, mostly without incident.
However with the latest set of upgrades rather "forced" upon me all at
once (instead of managed more properly), my application appears to have
a severe memory leak.
System Info: OS is Solaris 10-u5 (2008); java 1.6.0_06-b
From: Richard S. Huntrods [mailto:[EMAIL PROTECTED]
Subject: RE: Would like to know what might be causing this
exception in servlet
I have one more. This *IS* a real error, and is caused by something
breaking between MySQL and my servlets.
(Should probably start a new thread for this
Thank you Chuck and Tim for the information. I did wonder if it was a
"normal" exception, now I know that it's at least nothing to worry about.
I have one more. This *IS* a real error, and is caused by something
breaking between MySQL and my servlets.
SQL Problem: Communication link failure:
I am getting this exception from time to time (maybe once in a day every
few days) with my application (Servlets). None of the code involved in
the stack trace is my code, so I'm wondering if anyone knows what is the
cause of this exception? Also, is there a workaround / fix?
Thanks very much in
hi all
I would like to establish public key private key ssl setup in
tomcat. I dont know how to proceed please help me regarding this.
regards
Richard
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
13 matches
Mail list logo