根据JAVA引用,我可以设置JFR记录的maxage和/或maxsize,但它不起作用。
我分享了Intellij的想法,使用ant:统计数据记录和编译scala
关于这个问题,我有以下设置:
-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
蚂蚁:
-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
谢谢!
注意:我想使用SSD的env来收集stat集合,因为它的大小非常有限。
发布于 2014-03-19 21:41:24
将数据以块的形式写入磁盘,默认情况下每个磁盘的大小约为12-15Mb,因此不可能将maxsize设置到该阈值以下。
发布于 2014-04-15 09:53:57
你可以把块状的小一点,我不知道有多小是值得推荐的。
https://stackoverflow.com/questions/21645849
复制相似问题