Is it possible to do a rolling of garbage collector logs in Sun JVM?
Currently I generate logs using:
-XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:
Built-in support for GC log rotation has been added to the HotSpot JVM. It is described in the RFE 6941923 and is available in:
There are three new JVM flags that can be used to enable and configure it:
-XX:+UseGCLogFileRotation
-Xloggc:
;-XX:NumberOfGCLogFiles=
-XX:GCLogFileSize=M (or K)