6.4.1 Analyzing verbose output

Verbose garbage collection is enabled by the -verbosegc (or alternatively, -verbose:gc) command line option.

To enable verbosegc using the WebSphere Application Server console, check the Verbose garbage collection box in the Java Virtual Machine settings page.

To get to the Java Virtual Machine settings page:

1. Open the WebSphere integrated solutions console.

2. In the navigation tree, expand Servers and click Application servers.

3. Select the desired appserver.

4. Under the Server Infrastructure heading, expand Java and Process Management and click Process Definition.

5. Under Additional Properties, select Java Virtual Machine.