[Pymilter] no memory release when assigning chunks to self.fp in milter-template.py
Stuart D. Gathman
stuart at gathman.org
Tue Feb 4 16:37:31 EST 2020
On Tue, 4 Feb 2020, joao reis wrote:
> Maybe the postfix implementation? I'm getting this from the Milter.getdiag():
>
> DIAGNOSTICO:(3401,3388)
> DIAGNOSTICO:(3403,3388)
> DIAGNOSTICO:(3403, 3388)
15 milter context objects active is pretty typical.
>> In your close method, try deleting self.fp. (del self.fp)
>> If that doesn't "solve" your problem (it ought to happen automatically),
>> then you are keeping a reference to self.fp around somewhere.
--
Stuart D. Gathman <stuart at gathman.org>
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.
More information about the Pymilter
mailing list