When a program exits, it generates a summary message showing the exit status:
The exit status message provides information about:
Basic memory usage containing statistics not easily available from a single shell command. It includes program code and data size, as well as maximum heap and stack memory usage in bytes. All these values are given in bytes, and include Purify's overhead. The heap figure represents the finishing size of the heap area, as indicated by calling sbrk(0). Usually, this is the peak size that the heap reached during execution, unless your program explicitly relinquishes memory back to the OS by calling sbrk() or brk(), specifying a smaller size.
Shared library memory usage indicating which libraries were dynamically linked and their sizes. Again, the sizes are given in bytes, and include Purify's overhead.
Note: