Hello,

 

I want to monitor garbage collect on basex server.

So, I've modified basexserver as this :

 

BASEX_JVM="-Xmx6144m $BASEX_JVM -Xloggc:/home/basex/logs/79/azul/gc.log.$(date -u +%Y-%m-%d-%H-%M) \
-verbose:gc \
-XX:+PrintGCDateStamps \
-XX:+PrintGCDetails \
-XX:+PrintGCApplicationStoppedTime
-javaagent:/usr/local/jHiccup/jHiccup.jar=-d,5000,-i,1000,-s,3,-l,/home/basex/logs/79/azul/hiccuplog,-c"

# Run code
java -cp "$CP" $BASEX_JVM "${vm_args[@]}" org.basex.BaseXServer "${general_args[@]}"

 

The problem is I have only 2 seconds of monitoring.

Does BaseXServer is a starter for another JVM ?

How can I activate GC log on basex server ?

 

Thanks in advance,

Christophe