tdb memory consumption
tridge at samba.org
tridge at samba.org
Mon Feb 12 22:07:43 GMT 2007
Volker,
Just spoke to Volker, and I got it totally wrong :-)
The bit I missed is this:
if (tdb->num_lockrecs > 1) {
*lck = tdb->lockrecs[tdb->num_lockrecs-1];
}
tdb->num_lockrecs -= 1;
that effectively shrinks the array when the count on an element drops
to zero. So the memory usage will in the worst case be the maximum
number of hash chains actually locked times 12.
Sorry for the false alarm!
Cheers, Tridge
More information about the samba-technical
mailing list