tech-userlevel archive

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

Re: Import of XZ



On Wed, 11 Aug 2010, Izumi Tsutsui wrote:
> I see the following error on NetBSD/hpcarm
> W-ZERO3 smartphone with 64MB memory:
> 
> ===> Extracting for umefont-0.416
> /usr/pkg/bin/xzcat: /usr/pkgsrc/distfiles//umefont_416.tar.xz: Memory usage 
> limit reached
> /usr/pkg/bin/xzcat: Limit was 25 MiB, but 65 MiB would have been needed
> tar: End of archive volume 1 reached
> 
> Is this expected, or bad default settings?

That's consistent with the documentation: the default limit is 40%
of real memory, and the decompressor skips the file if the limit is
exceeded.  I don't think it's a very good idea for the decompressor to
behave like that, but you can override it with "-M max" (assuming you
have enough virtual memory).

--apb (Alan Barrett)


Home | Main Index | Thread Index | Old Index