It's not tomcat that runs the gc but the jvm.

To find out more about when the garbage collection happens,
you have to set the verbosegc option of the vm:
http://docs.sun.com/db/doc/806-1367/6jalj6mv7?a=view
http://www-106.ibm.com/developerworks/java/library/i-garbage3/

To tune the gc you can adjust the values for the gc 
in the vm:
http://java.sun.com/docs/hotspot/gc/
http://developer.java.sun.com/developer/technicalArticles/Programming/turbo/
http://www-106.ibm.com/developerworks/java/library/i-garbage1/?dwzone=java


> -----Original Message-----
> From: Hari Venkatesan [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 13, 2003 10:40 PM
> To: [EMAIL PROTECTED]
> Subject: Garbage Collection
> 
> 
> Is there a way to find out how often tomcat runs Garbage 
> Collection and
> how to optimize it if GC does not happen often
>  
> Hari
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to