O'Reilly logo
  • anu latha thinks this is interesting:

Tuning Garbage Collection

The JVM performs a garbage collection whenever the heap memory becomes nearly full. Frequent long-running garbage collections mean that your application response times will get longer. You can use the verbose JVM command-line options or tools such as jstat and the JRockit Mission Control to gather detailed heap information during a garbage collection. For example, the JRockit command -Xverbose:gc,gcpause,memdbg produces detailed information about the start of the mark and sweep phases and the pause times. Similarly, you can issue the following jstat command for the JRockit JVM to get detail...


Cover of Oracle WebLogic Server 11g Administration Handbook


Tuning Garbage Collection