title: using Jvisualvm to detect memory leaks
body: <p>My java jar is just one of many that a larger program uses.  I am trying to determine if my code is the cause of a memory leak, or if there are other problems outside of my code.  I am using jvisualvm, and have identified all of my classes, and none of them seem suspect.  Looking at the sampler, i can see that byte[], char[], and int[] appear to be biggest users in terms of size and instances created.  the problem is, that i can't determine who they belong to.  I know that i have various byte[] in my program, but since there are some 32,000 instances, it is hard to determine the source looking at them one by one.  Is there a way to filter the data so that only items originating from a certain jar or area can be viewed?
  Thanks.</p>