db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kristian Waagan <kristian.waa...@oracle.com>
Subject Re: Trying to start derby network server with properties to monitor garbage collection
Date Wed, 22 Feb 2012 12:50:13 GMT
On 22.02.2012 12:02, Knut Anders Hatlen wrote:
> "Bergquist, Brett"<BBergquist@canoga.com>  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]
>

Mime
View raw message