I appreciate your help with this problem. I downloaded JProfiler and ran it on tomcat 5.5.20. The garbage collection is running fine. Memory keeps going up when I make and break connections to the database. What appears to be happening is that every time I execute my app, when it closes, Tomcat leaves an inactive thread hanging. I think if I could clear up the inactive threads, the garbage collection routine would get the memory back. Is there any way to release inactive threads in Tomcat 5.5?

Thanks again so much,

-- Dan.


Caldarale, Charles R wrote:

From: Daniel L. Gross [mailto:[EMAIL PROTECTED] Subject: Re: Memory Usage

I have run the lamda probe on the software, but it didn't show anything useful.

It's not a profiler, and was never intended to be.

Where do I turn on the -verbose:gc?  In the tomcat start-up script?

It's a standard java launcher option.  If you're running from a script,
try setting it in JAVA_OPTS before kicking off the script.

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



Reply via email to