Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
1 reply Latest Post - ‏2008-08-30T05:53:05Z by SystemAdmin
SystemAdmin
SystemAdmin
9394 Posts
ACCEPTED ANSWER

Pinned topic -Xloggc command line parameter

‏2008-08-22T12:17:28Z |
I am trying to locate a heap problem in my CDC/PP application using J9.
In order to get the garbage collector infos I normally use the -verbose:gc -Xloggc command arguments in my Sun VM on the desktop.
I have only found the -verbose:gc option for J9. Is there any (hidden) command line switch to log those information to a file?

What is an alternative/better way to debug heap problems with J9?
Updated on 2008-08-30T05:53:05Z at 2008-08-30T05:53:05Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    9394 Posts
    ACCEPTED ANSWER

    Re: -Xloggc command line parameter

    ‏2008-08-30T05:53:05Z  in response to SystemAdmin
    You can redirect J9 output to file using -tofile:filename parameter, e.g. -tofile:\J9\gc.txt. For debugging memory problems you can try using MicroAnalyzer which used to be part of WSDD.