strange memory leak (in ldb?)

tridge at samba.org tridge at samba.org
Fri Nov 5 18:47:40 MDT 2010


The following two changes have helped reduce this problem a lot:

http://git.samba.org/?p=samba.git;a=commitdiff;h=5fcb426d9a0bc4e2076a278babe3f0f2a550d54e
http://git.samba.org/?p=samba.git;a=commitdiff;h=eaabb5950fe89c15b575ffb37b35137d8a848c01

Metze has tested with the changes, and we now end up with a much
smaller heap.

It still might be worth looking at a replacement malloc at some point,
but it is almost always better just to not allocate as much memory in
the first place :-)

Cheers, Tridge


More information about the samba-technical mailing list