Enabling verbose garbage collection logging

Enabling garbage collection (GC) logging can provide rich information about the behavior of the JVM. Enabling the verbose GC is an easy change and will help diagnose some possible issues in the WebLogic Server.

One of the steps in the troubleshooting process is to find out if the JVM heap utilization is adequate.

This recipe enables Oracle JRockit verbose GC logging in the WebLogic standard output logfile for the PROD_Server01 Managed Server.

It also shows an example of a troubleshooting scenario and the analysis made with the verbose GC.

Getting ready

The verbose GC has been changed using the Administration Console, so make sure the Administration Server is running.

How to do it...

To enable the PROD_Server01 ...

Get Oracle WebLogic Server 12c Advanced Administration Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.