JAVA Garbage Collector Monitoring Configuration

Community post

Shared by the Applicare community. It has not been re-checked against Applicare 10.0, so confirm the steps in your environment or contact Support.

For Garbage Collector monitoring add the below jvm arguments to the startup commands based on your Java:

To create a GC file in a custom folder specify the full path with file name in the <GCFilename>

To Know more details about the java properties run the below command in command prompt

java -XshowSettings:properties -version

For Oracle Sun Java use the below argument

-verbose:gc -Xloggc:<GCFilename>.gc

For JRockit Java use the below argument

-verbose:gc -Xverboselog:<GCFilename>.gc

For IBM Java use the below argument

-verbose:gc -Xverbosegclog:<GCFilename>.gc

For Open JDK use the below argument

-verbose:gc -Xloggc:<GCFilename>.gc

For Java 9 - Garbage-First (G1) Garbage Collector (GC) - Oracle Java

-verbose:gc -Xlog:gc:<GCFilename>.gc

Join the discussion

Comments, voting and following are kept by Zendesk and need a Help Center account. This button opens the original discussion there.

Opens Zendesk · needs internet and sign-in

Still stuck? Contact support