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

Re: Problem with xz on very small system

On 2013-04-12 16:59 +0200, David Goodenough wrote:

> On Friday 12 Apr 2013, Claudius Hubig wrote:
>> David Goodenough wrote:
>> > I have a PcEngines WRAP board, which has 64MB of memory and a CF disk.
>> > 
>> > Unpacking replacement traceroute ...
>> > dpkg-deb (subprocess): decompressing archive member: lzma error: Cannot
>> > allocate memory
>> > dpkg-deb: error: subprocess <decompress> returned error exit status 2
>> > Any ideas?
>> If nothing else helps, you could try to use a temporary swap file.
>> While not perfect for the lifetime of the CF card and probably
>> horribly slow, it’s better than nothing.
> Yes that works, but it is not something I would want to do repeatedly
> to the CF.  It does seem odd that such tiny DEBs need such a large amount
> of memory to uncompress them.

They don't need that much memory to uncompress (9 MB with the default xz
compression level of 6, see xz(1)), but dpkg's own memory footprint
seems to have increased somewhat.  And if you also want to use apt, 64
Megabyte is probably just not sufficient without swap these days.


Reply to: