Page created: 4 Feb 2020 |
Page updated: 22 Jul 2020
Enable the JVM debugging options to track garbage collection data for the system. These options can impact JVM performance, but provide valuable data to tune the server. 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 provide additional detail, such as:
-XX:+PrintGCDetails -XX:+PrintTenuringDistribution -XX:+PrintGCApplicationConcurrentTime -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCDateStamps
- On the server, navigate to the config/java.properties file.
Edit the config/java.properties file. Add any additional
arguments to the end of the line that begins with
- Save the file.
Run the following command for the new arguments to take effect the next time
the server is started: