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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s