O'Reilly logo

Oracle SOA Suite Performance Tuning Cookbook by Matt Brasier, Nicholas Wright

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Turning on verbose garbage collection

Verbose garbage collection is a feature that writes log files detailing when garbage collection occurred, how long it took, and what was collected. While we would not recommend having it permanently turned on in a live system, it can be useful when trying to debug garbage collection related problems.

Getting ready

This recipe assumes you are using the HotSpot JVM, if you are using JRockit, see the There's more… section of this recipe for the parameter you need.

For more details, refer to the Getting ready section of the Setting the new size recipe.

How to do it...

To enable verbose garbage collection logging, perform the following steps:

  1. Navigate to the domain's bin directory:
    cd %MIDDLEWARE_HOME%/user_projects/domains/soa_domain/bin ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required