Java JMC maxage/maxsize不';行不通
根据,我可以设置JFR录制的最大年龄和/或最大大小,但不起作用 我使用ant分享了Intellij IDEA录制和编译scala: 对于idea,我有以下设置: -XX:+FlightRecorder-XX:FlightRecorderOptions=defaultrecording=true,disk=true,dumponexit=true,dumponexitpath=/home/ichaki/development/misc/stats/idea,maxage=1h,repository=/home/ichaki/development/misc/stats/idea,settings=profile 对于ant: -XX:FlightRecorderOptions=defaultrecording=true,disk=true,dumponexit=true,dumponexitpath=/home/ichaki/development/misc/stats/scala-ant,maxage=120s,maxsize=200k,repository=/home/ichaki/development/misc/stats/scala-ant,settings=profile 谢谢Java JMC maxage/maxsize不';行不通,java,performance,intellij-idea,jmc,jfr,Java,Performance,Intellij Idea,Jmc,Jfr,根据,我可以设置JFR录制的最大年龄和/或最大大小,但不起作用 我使用ant分享了Intellij IDEA录制和编译scala: 对于idea,我有以下设置: -XX:+FlightRecorder-XX:FlightRecorderOptions=defaultrecording=true,disk=true,dumponexit=true,dumponexitpath=/home/ichaki/development/misc/stats/idea,maxage=1h,repository
注意:我想在带有SSD的环境中进行stat collection,SSD的大小非常有限。Flight Recorder将数据分块写入磁盘,默认情况下每个块大约12-15 Mb,因此无法将maxsize设置为低于该阈值。您可以将chunksize设置得更小,我不确定建议多小。不可能将其设置为低于1 MB。