Check out this link might answer few of your queries.

http://java.sun.com/docs/hotspot/gc1.4.2/faq.html

-Sameer

Benjamin Chu <[EMAIL PROTECTED]> wrote:  Hello! Now I am using the jconsole to 
monitor the heap memory usage of
the tomcat 5.5. I've constructed a testbed to test the performance of
the applications running on the tomcat. However, the jconsole shows that
the "MarkSweepCompact" Garbage Collector never does its job. The only
two ways to make this garbage collector to perform GC are:

<1> I push the button "perform GC" shown on the "Memory tab" of the jconsole
<2> I insert the code "System.gc()" into the servlets.

I think both of these two ways are not good, and this garbage collector
should perform GC automatically (in my opinion). I just wonder when or
under which conditions the "MarkSweepCompact" Garbage Collector would
perform GC. Or actually there is something wrong with my configuration
so it doesn't perform GC?
Thank you very much!



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



                
---------------------------------
Feel free to call! Free PC-to-PC calls. Low rates on PC-to-Phone.  Get Yahoo! 
Messenger with Voice

Reply via email to