cancel
Showing results for 
Search instead for 
Did you mean: 

JVM garbage collection trace

tombo_larsen
Active Participant
0 Kudos

Hi

Anyone knowing how to trace/log the Garbage Collecting done by the JVM?

I know you have to set -verbose:GC in the startup file for the Server-process, but in which logfile(s) can you see the outcome?

Best regards

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hey,

Have you seen note 723909?

You can also use the -Xloggc parameter to tell the JVM to write the GC data to a certain file, the format is:

-Xloggc:my_gc_file_name

Do a find/search for this file name after restarting the JVM..