Loading...

derby-dev@db.apache.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: Trying to start derby network server with properties to monitor garbage collection Kristian Waagan Wed Feb 22 05:01:12 2012

On 22.02.2012 12:02, Knut Anders Hatlen wrote:
"Bergquist, Brett"<[EMAIL PROTECTED]>  writes:

Tried adding “-verbose:gc” to the “startNetworkServer” script, but I
cannot find out where the garbage collection statistics output should
appear?
It is printed to the console in my environment:

You can also try -Xloggc:file. Don't think you need -verbose:gc then, but some of the other GC-related flags may affect the output.


Regards,
--
Kristian


% DERBY_OPTS=-verbose:gc 
/code/derby/releases/db-derby-10.8.2.2-bin/bin/startNetworkServer
Wed Feb 22 11:56:20 CET 2012 : Security manager installed using the Basic 
server security policy.
Wed Feb 22 11:56:21 CET 2012 : Apache Derby Network Server - 10.8.2.2 - 
(1181258) started and ready to accept connections on port 1527
[GC 16896K->1312K(64768K), 0.0116008 secs]
[GC 18208K->2584K(64768K), 0.0106343 secs]
[GC 19480K->3885K(64768K), 0.0133624 secs]
[GC 20781K->4147K(64768K), 0.0076451 secs]