根據JAVA cmd Reference我可以設置JFR記錄的maxage和/或maxsize,但它不起作用。JMC maxage/maxsize不起作用
我一直在使用螞蟻共享IntelliJ IDEA的記錄和Scala的編譯:Stats
有關的想法,我有以下設置:
-XX:+ FlightRecorder -XX:FlightRecorderOptions = defaultrecording =真,disk = true,dumponexit = true,dumponexitpath =/home/ichaki/development/misc/stats/idea,maxage = 1h,repository =/home/ichaki/development/misc/stats/idea,settings = profile
對於螞蟻:
-XX:FlightRecorderOptions = defaultrecording = TRUE,磁盤= TRUE,dumponexit = TRUE,dumponexitpath = /家庭/ ichaki /開發/雜項/統計/斯卡拉蟻,最大生存週期120秒=,= MAXSIZE 200K,庫=/home/ichaki/development/misc/stats/scala-ant,settings = profile
Thanks!
注:我想讓統計收集與SSD的ENVS其在尺寸上非常有限
無法將其設置爲1 MB以下。 –