[jboss-user] [Beginners Corner] - Re: GC statistics/info

jaikiran do-not-reply at jboss.com
Tue Jul 25 05:01:41 EDT 2006


You will have to add the java option -Xloggc:filename to the run.bat. Something like:

set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Xloggc:D:/log/myLogFile.log 

You will then see the GC logs in D:/log/myLogFile.log file



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960616#3960616

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960616



More information about the jboss-user mailing list