tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suvendu Sekhar Mondal <>
Subject How to enable Native Memory Tracking(NMT) in Tomcat?
Date Thu, 02 Mar 2017 10:54:06 GMT
Hello Everyone,

I am new here. :)

Java Version: Java HotSpot(TM) 64-Bit Server VM version 25.91-b15
(Java version 1.8.0_91-b15)
Tomcat Version: Tomcat 8.0.20
OS Version: Microsoft Windows 8.1 Enterprise

I am trying to enable Native Memory Tracking(NMT) to get internal
memory usage deatils about Tomcat process which is running on my
system. I have added following flags to Tomcat's Java options:

After that I restarted Tomcat. When I tried to use "VM.native_memory"
command either from JCMD or JMC, I am getting "Native memory tracking
is not enabled" message. When I shutdown Tomcat, following message is
getting printed on STDERR log:
"Java HotSpot(TM) 64-Bit Server VM warning: Native Memory Tracking did
not setup properly, using wrong launcher?".

I found this article which discussed about NMT problem in custom JVM launcher:

My question is, does that stands true for Tomcat also? Is there any
other way to enable NMT in Tomcat?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message