I have a Java program that is using a lot of memory. I used jmap -histo:live to track down the objects that are using all the memory. There are only a couple of types that are using up most of the memory, there are > 1M of them, but I can't tell where the references are coming from.
Is there any way to tell from the command line what types of objects are holding references to these?
Thanks!