[PATCH] selftest: close connections after tests in samba4.ldap.acl.python

Andrew Bartlett abartlet at samba.org
Mon Jan 8 01:00:32 UTC 2018

On Mon, 2018-01-08 at 13:38 +1300, Jamie McClymont via samba-technical
> Hi all,
> I'm taking a look at the memory usage of the testsuite.
> samba4.ldap.acl.python is currently all that puts peak usage over the
> 8GB line -- A patch to fix is attached (with more likely to follow for
> other tests).

This looks great.  If you could see if we can skip the gc.collect()
stuff that would be great, and pick up the next few so we can get the
build back under 8GB.  

(In the long term we really need to get this under 2GB to fit into free
runners on gitlab, but 8GB will still be much less expensive). 


Andrew Bartlett

Andrew Bartlett
Authentication Developer, Samba Team         https://samba.org
Samba Development and Support, Catalyst IT   

More information about the samba-technical mailing list