You're looking to see what would be good JVM settings to set up with Clarity in addition to the ones that come by default
Clarity 16.4.0, 16.4.1
Please consider the below additional JVM paratemers for use with APP, BG and Reporting service:
<Please update the paths to correct directories for your server>
-XX:+UseG1GC
Modern GC for large heaps
-XX:+HeapDumpOnOutOfMemoryError
Creates heap dump for diagnosis
-XX:HeapDumpPath=/opt/clarity/logs
Location where heap dumps go
-Xlog:gc*:file=/opt/clarity/logs/gc-app.log:time,uptime:filecount=5,filesize=20m
GC logging for Java 17