Bug#270874: still a problem?

2005-06-30 Thread Chris Halls
On Tuesday 28 Jun 2005 12:44, Michael Vogt wrote:
 I would like to know if this memory leak is still there with the
 latest version of apt-proxy (currently 1.9.31).

It seemed to have gone away but came back every now and again for me.  I have 
found one way to reproduce it, and I think that it is not a leak as such, but 
a problem where apt_pkg grabs large amounts of memory (about 12Mb per 
instance) if sources.list is empty or there are no valid Packages files 
available.  I've extracted this into a separate script (attached) that 
demonstrates the problem.

Since it does not make sense to load the packages database if there are no 
packages files I have also added a test to my development apt-proxy that 
skips loading the cache if there are no packages files available.  This 
should fix the problem in apt-proxy itself.

Chris


test_memleak.py
Description: application/python


Bug#270874: still a problem?

2005-06-28 Thread Michael Vogt
Hi,

I would like to know if this memory leak is still there with the
latest version of apt-proxy (currently 1.9.31).

I'm considering it as the base for a larger deployment but a memory
leak like this would be a pretty bad problem.

Thanks,
 Michael

-- 
Linux is not The Answer. Yes is the answer. Linux is The Question. - Neo


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]