Bug#745487: apt python library leak memory and file descriptors
[Michael Vogt]
> Thanks for this demo, I can reproduce the issue with it. However, if
> I change it a little bit and force the python garbage collector
> there seems to be no leak (or a small memory leak but no fd leak).
Aha. Calling gc.collect() after I am done using the apt cache in the
isenkramd daemon seem like a reasonable workaround. I'll use it in
isenkram to avoid having to wait for a fixed python-apt package to
show up in stable. :)
--
Happy hacking
Petter Reinholdtsen
Reply to: