title: Java performance tuning, JNI memory leak
body: <p>I have a Java application. It is a Linux platform. and we are using Java 6. It is normal sdk java plus some JNI. </p>
  
  <p>We using visualvm to monitor the memory leak. We notice from visualvm application does not consume heap continuously. But the whole process memory increases all the time up to linux killing the process.</p>
  
  <p>Then we are suspecting the JNI part. Since JNI part memory leak could not be seen by visualvm. Could someone drop some hints on how to check JNI memory leak when do Java Performance testing?</p>