You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/11/06 20:27:24 UTC

DO NOT REPLY [Bug 14309] New: - Memory Leak

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14309>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14309

Memory Leak

           Summary: Memory Leak
           Product: Tomcat 4
           Version: 4.1.12
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: matt@netyourwork.com


I'm encountering what looks like a memory leak in tomcat 4.1.12.
I do not ecounter this same problem with the same code-line and configuration 
in tomcat 4.0.6.
I running multiple requests against an HttpServlet that accesses an in memory 
cache of data and writes to a mysql database.
As I run multiple requests the memory fills, the application begins to slow, 
and eventially I get an OutOfMemory error.
I've tried getting diagnostics by running the tomcat 4.1.12 server inside 
JProfiler.  The culprit seems to be a build up of byte arrays.  Unfortunately, 
we don't have a machine powerful enough to get a heap profile in a reasonable 
amount of time so I do not know what object or objects are holding references 
to these byte arrays.  

In either server (4.0.6 or 4.1.12) I'm using the CoyoteHttp connector and the 
MySQL Java Driver.  This problem appears to be in catalina core code and not in 
these modules. 

Thanks for your time.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>