Enable verbose GC logging in WebSphere

Application servers > WebSphere_Portal > Process Definition > Java Virtual Machine

Generic JVM arguments

-Xverbosegclog:${SERVER_LOG_ROOT}/verbosegc.log,7,5000

 

-Xverbosegclog:[DIR_PATH][FILE_NAME],X,Y
Where:

[DIR_PATH] is the directory where the file should be written
[FILE_NAME] is the name of the file to write the logging to
X is the number of files to write to
Y is the number of GC cycles a file should contain
Advertisements