My Oracle Support Banner

[Java SE] Java Flight Recorder 'maxage' Parameter Does Not Limit Recording Size (Doc ID 2767782.1)

Last updated on MARCH 31, 2023

Applies to:

Java SE JDK and JRE - Version 8 and later
Information in this document applies to any platform.


After setting the maxage or maxsize parameter when starting a Java Flight Recording (JFR), the size of the resultant recording seems larger than would be expected.  As an example, consider the following JVM options used to start a JFR:

When looking at the JFR generated by that command, you would expect two hours' worth of data in the JFR recording.  However, you are likely to have more than that.  Why does this happen?



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.