Memory Leak in JSP Engine of Tomcat??
Use ab of apache to hit a.jsp where a.jsp only contains:
<html>
</html>
The allocated heap size continuously increase.
Change a.jsp to:
<html>
<% java.lang.Runtime.getRuntime().gc() %>
</html>
The allocated heap size remains unchanged.
Thx. and Regards.
Steve.
-----Original Message-----
From: Steve Wong
Sent: Monday, January 28, 2002 10:45 AM
To: [EMAIL PROTECTED]
Subject: Allocated Heap Size Continuously Increase
I have a web application running on Apache1.3.20 with
mod_ssl+Tomcat3.3+Jdk1.2.2 on Solaris 8.
The allocated heap size of tomcat continuously increase until OutOfMemoryError
occurs.
I've used OptimizeIT Profiler to monitor it and discovered that four classes'
object instances
continuously increase. They are :
org.apache.tomcat.util.buf.CharChunk
org.apache.tomcat.util.buf.ByteChunk
org.apache.tomcat.util.buf.MessageBytes
org.apache.tomcat.util.http.MimeHeaderField
Do anyone have similar problem and know how to solve it, please throw me some
light.
Thx. in Advance.
Steve.
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>