On 2/18/07, Jayen Ashar <[EMAIL PROTECTED]> wrote:
Package: reportbug
Version: 3.33
Followup-For: Bug #387924

I added a bunch of debug messages and narrowed down where all the memory seems 
to be going.
In reportbug.py, function get_avail_database().
At the end, where it does the split seems to be where the memory is going.
I removed the stable repositories I had in /etc/apt/sources.list and that 
seemed to help alleviate the problem.
(Only 90M now instead of eating 250M+ and getting killed.)
Any way to do the split manually, so you have only the packages you need in the 
list?

Thanks for trying to track this one down.  Doing the split() manually
(adding each chunk on the fly as it's read in from the file) actually
seems to increase the memory usage on my machine, for reasons I don't
really understand.

I may try seeing what happens if the avail database isn't cached at all.


Chris


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

Reply via email to