views:

394

answers:

1

I was unable to find the documentation for this. There is no Quick Info.

The columns have these opaque titles:

Category

Live Bytes

# Living

# Transitory

Overall Bytes

# Overall

# Allocations (Net / Overall)

Is there a document that shows what these columns mean? Without having to read 600 pages?

+3  A: 

The "Analyzing Data with the ObjectAlloc Instrument" section of the Instruments User Guide provides some description of the detail view for this instrument:

The Detail pane (while it is in Table mode) displays other useful information to help you spot potential allocation issues. The net versus overall allocations column of the table shows a histogram of the currently active objects and the total number that were ever created. As the ratio of net allocations to overall allocations shrinks, the color of the histogram bar changes. Blue histogram bars represent a reasonable ratio while colors shifted towards the red spectrum represent lower ratios that might warrant some investigation.

Object allocations are grouped by type, which is what appears under the Category header. The Live Bytes column indicates how many of this type of object have been allocated and still are around in memory. Likewise, the # Living column tells you how many objects of this type are still around in memory. The Overall Bytes and # Overall columns show the total size in memory and number of all allocated objects of that type, whether or not they are still around in memory at this time. Finally, the # Transitory is simply the difference between # Living and # Overall, showing how many objects of that type were created and destroyed during the time period you are analyzing.

The histogram at the right of this table is described by the above-quoted section from the documentation, but it simply provides a graphical measure of the numbers described above.

Brad Larson
Thanks. Which columns or lines would I have to look at if I don't care about type but want a complete overview of how many bytes (from whatever type) is currently allocated?
dontWatchMyProfile
@mystify - The Live Bytes column for the All Allocations row should list the sum of all monitored active bytes for objects being tracked that have been allocated and are still in memory.
Brad Larson