Enable native memory tracking in JVM by specifying the following flag -XX:NativeMemoryTracking=detail Know the <PID> of the java process jps To print ps based RSS ps -p <PID> -o pcpu,rss,size,vsize To print native memory tracking summary