xz memory limit override

Matthias Andree matthias.andree at gmx.de
Thu Aug 12 13:11:25 UTC 2010


Warren Block wrote on 2010-08-01:

> xz(1) has a built-in protective notion about limiting memory usage that  
> prevents port building on relatively low-memory computers.  Users have  
> experienced this in the wild[1].
>
> Matthias Andree pointed out[2] that there are existing ways to limit  
> memory usage: "They can use ulimit(1) -- or whatever their favourite  
> login shell offers -- to set soft memory limits."
>
> I submitted ports/148250[3] to add the "-Mmax" option to port xz  
> extractions.  There haven't been any squawks of outrage, peeps of  
> agreement, or even acks of, uh, acknowledgement.  Hence this message, to  
> bring it up again for a status check.

I'm in favour of adding such a command line option to extraction, because  
it appears that upstream solutions are stalled or progressing slowly (I  
haven't checked the xz git repo though), and it's critical to the build  
process that we can actually extract.

-- 
Matthias Andree


More information about the freebsd-ports mailing list