Clarity App, BG, Reporting JVM Settings - Best practices
search cancel

Clarity App, BG, Reporting JVM Settings - Best practices

book

Article ID: 435398

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

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

Environment

Clarity 16.4.0, 16.4.1

Resolution

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