1 Reply Latest reply on May 3, 2010 6:58 AM by 791266

    Query on Memory consumption of an object

      I am able to get information on the number of instances loaded, the memory occupied by those instances using heap histogram.
      Class      Instance Count      Total Size
      class [C      10965      557404
      class [B      2690      379634
      class [S      3780      220838
      class java.lang.String      10807      172912 
      Is there way to get detailed info like, String object of which class consume much memory.

      In other words,

      The memory consumption of String is 172912. can I have a split up like
      String Objects of Class A - 10%
      String Objects of Class B - 90%