You can use the studio dbx run time checking feature to identify memory leaks under Solaris ( http://blogs.oracle.com/janitor/entry/runtime_memory_checking .) libumem can also be very helpful ( http://blogs.oracle.com/pnayak/entry/finding_memory_leaks_within_solaris .)