tomcat-users mailing list archives

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

Hi,

- 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.


Thanks.
-- 
View this message in context: http://old.nabble.com/Tomcat-6.0.29-problem-tp30919317p30919317.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message