How to Debug Java Garbage Collection on OC4J
(Doc ID 342799.1)
Last updated on MAY 01, 2023
Applies to:Oracle Containers for J2EE - Version 10.1.2.0.0 and later
Information in this document applies to any platform.
This article is intended to be used in debugging Java apps Memory Consumption Issues by enabling Verbose Garbage Collection.
The verbosity option depends on the Platform and JDK Version where the Java Process is running.
In this guide a free software will be used in order to get a graphical view of the Garbage Collection.
The software is called gcviewer and can be found at :
After you downloaded and unpacked the archive you can start GCViewer by simply double-clicking on
gcviewer-1.2x.jar or running
java -jar gcviewer-1.2x.jar
You will have to set the DISPLAY Env correctly as it' s a GUI tool is case you' re doing that on a Unix box remotely )
|Date||Binary GZIP TAR||Binary ZIP|
|3.1.08||gcviewer-1.27-bin.tar.gz [1.465.858bytes]||gcviewer-1.27-bin.zip [1.465.513bytes]|
|Date||Source GZIP TAR||Source ZIP|
|26.10.06||gcviewer-1.27-src.tar.gz [2.431.350bytes]||gcviewer-1.27-src.zip [2.502.985bytes]|
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document
|Other GC related Tools and Links|