tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerd Trautner>
Subject Re[2]: memory and/or ms problem
Date Fri, 02 Mar 2001 08:02:12 GMT
Hi Randy,
Thursday, March 01, 2001, 1:15:06 PM, you wrote:

RL>         Look at your code.  My experience has been that Tomcat doesn't leak
RL> any memory.  Check that you haven't set your sessions to never time out
RL> (otherwise each session will continue to collect digital dust).  Also check
RL> that you don't have any structures in memory of static classes that continue
RL> to grow with each request (in-memory logs that flush to disk when some event
RL> happens would one example of a place to look).

Did some additional test and: you are rigth, something in my code is
the reason for the growing memory consumption.but i can't imagine what
it is.

so the test i did was:
stress a servlet that just writes a text. i stressed it really and
nothing happend, the memory consumption growed, but gc brought it down
to starting level.


View raw message