On Sun, Feb 27, 2011 at 10:12 AM, Dimitrios Apostolou <jimis@xxxxxxx> wrote: > Hello list, > > I'm using arch on an old laptop with only 128MB RAM. I had problems > compressing the initcpio image with lzma, it always failed allocating > memory. The following one-line patch allowed me to set my own compression > level in mkinitcpio.conf, with COMPRESSION="lzma -4" can you just set XZ_DEFAULTS=--memlimit=48MiB and leave mkinitcpio alone? i am not sure if this approach could work.