jmap and application heap size
We are running multiple applications on the same jvms. Trying to find out how much space one application is utilizing. Weblogic 10.3.6 and jdk 1.6u121. I have used jmap -histo <PID>. The output is like:
num #instances #bytes class name
----------------------------------------------
1: 1610518 305143064 [C
2: 133075 182485480 [I
3: 5582115 178627680 java.util.HashMap$Entry
Please confirm for num 1 all instances together meaning 1610518 instances of class [C take total of 305143064 bytes.
I was thinking to find all classes related to application and add all #bytes.
Would you know if there is any better way?
Thanks
Andrew