Solving memory problems in WebSphere applications | Analyzing verbose GC logs


24.3.1 Gather verbose Garbage Collection logs


To monitor the usage of JVM memory, get Garbage Collection logs from WAS...

PROFILE_HOME/default/logs/server1/native_stdout.log
PROFILE_HOME/default/logs/server1/native_stderr.log

To enable verbose GC...

  1. Open the WAS admin console.

  2. Select...

    Servers | Application servers | server1 | Java and Process Management | Process Definition | Java Virtual Machine | Verbose garbage collection

  3. Click Apply and click Save at the top of this page.

  4. Restart WAS.

After restarting WAS, you see the verbose GC output in native_stdout.log or native_stderr.log.