I am trying to diagnose memory issues for a java process running in Docker under Kubernetes.
Java version is Java 8 (1.8.0):
root@myHost:/# java -version
openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-8u181-b13-2~deb9u1-b13)
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)
I see much of the online discussion and suggestions and questions on SO involve the use of Native Memory Tracking.
If I enable NMT, what negative impacts can I expect to the performance or memory usage?
Is it fine/permissible/recommended to enable NMT in Production at all times at "detail" level:
-XX:NativeMemoryTracking=detail