tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bilal Ashraf <>
Subject Tomcat 6.0.29 problem
Date Mon, 14 Feb 2011 07:47:49 GMT


- I have written a servlet that reads the request from the client, process
the request, produce the  
  response and then write the response to
  the client. 
- I have deployed the servlet on tomcat 6.0.29.
- I sent 10 batches of 100 requests each to the servlet, all the requests
entertained successfully.

The problem is, tomcat 6.0.29 does not relase the memory of requests and
responses even though i forcefully call the garbage collector from the
profiler. When looked using the profiler, there were large byte arrays held
by tomcat 6.0.29 code. In these byte arrays, there were request and
responses that were read from client and sent in response. The memory of
these request and response did not release even though i left the system
running for 2-3 days.

I have also checked my code, there is no memory leak in my servlet code.I am
properly closing my input and output streams.

Did any body else faced the same problem with tomcat 6.0.29. ?

i am using tomcat 6.0.29 on windows server 2003.

Any help would be greatly appreciated.

View this message in context:
Sent from the Tomcat - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message