I want to know how to profile memory using Oracle solaris studio performance analyzer. What types of memory profiling is done by this tool, I mean which type of data are generated by this tool?
Heap tracing is enabled with
collect -H on a.out
Details here: What Data the Collector Collects - Oracle Solaris Studio 12.3: Performance Analyzer
Basically number and size of allocations, the tool will detect leaks.
If you are interested in memory error detection, take a look at the code analyzer suite:
Oracle Solaris Studio 12.3 Code Analyzer User's Guide - Oracle Solaris Studio 12.3 Code Analyzer User's Guide