On 9/3/2012 16:55, matthew sporleder wrote:
okay.. I -think- this should help. I didn't profile the program, but i'm pretty sure the listdir() sub was the cause of your memory issue. I created 10k distfiles in my dir and it ran on my system, RSS staying under 20M (there are a lot of efficiencies to be had overall, even in my changes..)
That's one way to fix it. After running "lintpkgsrc -or -M /mech/bulk" I now have 0 distfiles. But it didn't run out of memory....