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 18:50, matthew sporleder wrote:
On Mon, Sep 3, 2012 at 11:56 AM, 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....

Your directory structure is like this?

DISTDIR = /mech/bulk
PACKAGES = /mech/bulk/packages

DISTDIR = /mech/bulk/distfiles
PACKAGES = /mech/bulk/packages

Home | Main Index | Thread Index | Old Index