commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From కృష్ణ చైతన్య <>
Subject [daemon] Enabling Native Memory Tracking while starting tomcat using jsvc
Date Tue, 30 Jul 2019 10:18:32 GMT

We are trying to enable Native Memory Tracking by setting the flags "-XX:+UnlockDiagnosticVMOptions
-XX:NativeMemoryTracking=detail -XX:+PrintNMTStatistics" during startup.  We use jsvc to fire
up tomcat and it fails to turn on Native Memory Tracking.  In Catalina.out we see the following
error during startup.

Java HotSpot(TM) 64-Bit Server VM warning: Native Memory Tracking did not setup properly,
using wrong launcher? 
Java HotSpot(TM) 64-Bit Server VM warning: PrintNMTStatistics is disabled, because native
memory tracking is not enabled

The below link from the tomcat users mailer list, indicates that we can’t enable Native
Memory Tracking while using jsvc.  Is there a way to have this turned on while using jsvc
to start tomcat.

Krishna Chaitanya.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message