Handling large GC log files

Oracle command line options support GC log file rotation. The options are as follows:
  • -XX:+UseGCLogFileRotation
  • -XX:NumberOfGCLogFiles=<num_of_files>

  • -XX:GCLogFileSize=<logsize>
    NOTE:

    -Xverbosegc supports the listed options.

HPE’s GC log rotation option, -XX:GCLogLimits, remains unchanged and supports both -Xloggc and -Xverbosegc options.
NOTE:

HPE’s LogRotation option -XX:GCLogLimits=M,N overrides Javasoft’s LogRotation options. If HPE's -XX:GCLogLimits is specified, GC logs rotate to new log file after N records.