[Piuparts-devel] Bug#673919: Bug#673919: piuparts-report - Release Section object when section processing complete

Dave Steele dsteele at gmail.com
Tue May 22 15:55:58 UTC 2012


On Tue, May 22, 2012 at 11:07 AM, Andreas Beckmann <debian at abeckmann.de> wrote:
> On 2012-05-22 14:35, Holger Levsen wrote:
>
> this usertag is useless :)

Yeah. It's just that this really applies to piuparts-<something>, and
I didn't want it to get lost.

>> looking at the code it seems your right, but have you tested it? :-) Strangely
>> this code is like this since always, ie it predates my involvement with
>> piuparts.
>

Tested on my (single Section) environment, without issues. I just
ordered today's deals Woot, a 6-core 10GB HP. I should be able to do a
bit more with that.

> Just finished a run of -report with this patch applied. No problems
> seen. Can't evaluate the memory savings (still takes a lot ...).
>

I spent a little time trying to quantify that. Section() incorporates
the Packages file (20MB), plus a source equivalent. My test script
grew by 250 MB after loading the sid PackageDB. My guess is that the
savings is on the order of 100MB per Section. I'd be curious to know
if you see a speedup.





More information about the Piuparts-devel mailing list