[Pkg-samba-maint] DO NOT REPLY [Bug 7020] smbd using 2G memory

samba-bugs at samba.org samba-bugs at samba.org
Wed Jan 6 06:31:47 UTC 2010


------- Comment #40 from jra at samba.org  2010-01-06 00:31 CST -------
Actually, there's one more thing we can use with valgrind to try and find a
long-lived malloc pointer reference.

Can you add the option "--show-reachable=yes" to your valgind command line and
try again (run under valgrind, let it grow a while, then kill <pid>).

So the full command line would be:

valgrind --trace-children=yes --leak-check=full --show-reachable=yes

This will dump out *all* known memory references on exit, even the ones that
aren't lost. That will allow me to look for any large, spoolss-related
allocations that are still reachable but probably should already have been


Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the Pkg-samba-maint mailing list