I have a C++ binary that has memory leaks (prstat shows increasing size) and I am trying to use Sunsolve doc 76774 to find memory leaks but with no luck.
I have set LD_PRELOAD, UMEM_DEBUG and I have verified that they are set using pldd and pargs -e. When I run: $ mdb ./myprogram myprogram.core.3103 Loading modules: [ libumem.so.1 libc.so.1 ld.so.1 ] > ::findleaks mdb: findleaks: requires UMEM_DEBUG=audit or UMEM_DEBUG=default > Am I doing something wrong? Thanks in advance. -- prasad This message posted from opensolaris.org