images\purify_sml.gifobject + references (O+R) size

The total of memory allocated to an object, and to all of its descendant objects in the reference tree. For example: object A contains references to objects B and C, B references objects D and E, E references object F, and C references object G. The O+R size for object A would then be: A + B + C + D + E + F + G.

Unlike method + descendants (M+D) bytes, objects included in object + references (O+R) size may belong to methods which have no caller-descendant relationship.

Note: O+R size is not automatically calculated in the data views after a memory profiling run. To calculate O+R sizes for objects, in the Object Reference Graph, right-click an object node and select Line Scale Factors > Linear or Logarithmic from the shortcut menu.

See also size and reference tree in the glossary.

(C) Copyright IBM Corporation 1993, 2010.