tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jared Clinton <>
Subject RE: Memory buildup on Tomcat JVM
Date Tue, 24 Apr 2001 05:34:59 GMT
AFAIK, garbage cleanup (memory management) in java does not automatically
get done on removal of objects, as this would cause uneccesary processing.

Its strategy is to do it when it needs or when it has the available CPU

Jared Clinton.
Software Engineer
Maxi Multimedia
NEC Australia.

> -----Original Message-----
> From: Shravan Shashikant []
> Sent: Tuesday, 24 April 2001 15:26
> To:
> Subject: Memory buildup on Tomcat JVM
> Hi there,
>   Was wondering whether you guys had a similar problem as I have been
> having.A servlet code has hashtables and vectors in it and I 
> do alot of
> assignment for these vectors/hashtables in the code..around 
> 1000 vector
> elemtns and 100 hs elemnts.i clean it up after execution and 
> set them to
> null,but my memory for the java vm starts around 9k when the 
> code starts
> executing and at the end of its at around 24K(chked it out in the task
> manager)..basically it doesnt seem to cause much trouble but 
> was wondering
> what the problem is and if it can be rectified..
> Thanks and Regards,
> Shravan

View raw message