PingDirectory

Garbage collection diagnostic information

You can enable the JVM debugging options to track garbage collection data for your system. The options can impact JVM performance, but they provide valuable data to tune your server when troubleshooting garbage collection issues. While the jstat utility with the -gc option can be used to obtain some information about garbage collection activity, there are additional arguments that can be added to the JVM to use when running the server to provide additional detail.

-XX:+PrintGCDetails
-XX:+PrintTenuringDistribution
-XX:+PrintGCApplicationConcurrentTime
-XX:+PrintGCApplicationStoppedTime
-XX:+PrintGCDateStamps

To run the server with these options, edit the config/java.properties file and add them to the end of the line that begins with "bin/start-server.java-args". After the file has been saved, invoke the following command to make those new arguments take effect the next time the server is started:

$ bin/dsjavaproperties