[Samba] how to check memory leakage in samba

Jeremy Allison jra at samba.org
Thu May 31 10:05:23 MDT 2012

On Wed, May 30, 2012 at 04:34:45AM +0000, vishal.kumar8 at wipro.com wrote:
> Hi,
> I was trying to test the samba for any memory leakage. It would be very kind of you if u suggest any methods or way of doing  memory leakage testing in samba. I am trying " smbtorure "to do this task. But not able to do it. May be my approach is wrong. Please suggest me something which would help me.

Use either valgrind (search for it) or try using smbcontrol pool-usage to
get a dump of all current talloc allocations.


More information about the samba mailing list