While running Jira using Oracle's Java I enabled JFR (Java Flight Recording) to help investigate issues. I decided to switch over to the bundled OpenJDK version with Jira but cannot seem to get flight recording to start.
Has anybody been able to successfully get JFR to start with Jira using the bundled OpenJDK? If so, can you provide an example of your JVM arguments.
Usually, you may try the following JVM arguments -
-XX:+HeapDumpOnOutOfMemoryError -XX:StartFlightRecording=disk=true,maxsize=10G,maxage=1h,settings=profile,path-to-gc-roots=true -XX:FlightRecorderOptions=repository=/path/to/jfr/files |
Hope it helps!
That did help! I think the part that I was getting caught on was the FlightRecorderOptions, I was putting the repository under the StartFlightRecording section.
Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Awesome! Thanks for sharing your feedback!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.