heap(1) System General Commands Manual heap(1)
NAME
heap - List all the malloc-allocated buffers in the process's heap
SYNOPSIS
heap pid
DESCRIPTION
heap lists the objects currently allocated on the heap of the current
process. Any Objective C objects will also be described, listed by
class. heap also prints summarizing data.
SEE ALSO
malloc(3) leaks(1) malloc_history(1)
Similar graphical applications are part of the developer tools for the
system. MallocDebug.app is a graphical application that also provides
information about heap-allocated memory. It also performs leak analysis.
heap has the advantage that the data can be immediately parsed by text-
based tools, and impacts the system less because it is not a full graphi-
cal application.
BSD April 26, 2000 BSD