tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lintpkgsrc 'Out of memory!' error

On 9/3/2012 17:56, John Marino wrote:
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....

And more seriously -- it wiped out /mech/bulk/packages too, everything.

Home | Main Index | Thread Index | Old Index