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

Jared Clinton.
Software Engineer
Maxi Multimedia
NEC Australia.

> -----Original Message-----
> From: Shravan Shashikant [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 24 April 2001 15:26
> To: [EMAIL PROTECTED]
> 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
> 

Reply via email to