lzip-bug
[Top][All Lists]
Advanced

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

Re: [Lzip-bug] Equivalent to bzip2's switch "-s"


From: Juan Francisco Cantero Hurtado
Subject: Re: [Lzip-bug] Equivalent to bzip2's switch "-s"
Date: Tue, 08 Oct 2013 23:52:42 +0200
User-agent: Mozilla/5.0 (X11; OpenBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0

On 10/08/13 14:08, Antonio Diaz Diaz wrote:
Juan Francisco Cantero Hurtado wrote:
Apparently xz has problems on OpenBSD VAX due to the high memory
consumption. I've saw that bzip2 has the switch "-s" to reduce the
memory use.

lunzip is really good in this case because the maximum amount of
memory used is 33MB but this is not enough for VAX. Is it possible to
add something like a "lowmem mode" to lunzip?. The decompression time
isn't a problem here.

The easy way to fix this is to compress files with a smaller dictionary
size. But I guess you mean to decompress files produced elsewhere.

Yes.


When decompressing to a regular file it would be possible to use the
file as dictionary. It would be probably very slow, but it could
decompress any file using 32KiB of RAM or so.

When decompressing to stdout, a temporary file would be needed to hold
the dictionary.

But this would be a large change not guaranted to be generally useful.
So probably would be better to write a new "lunzip-lowmem" tool and see
how it works.


Yep. It's only useful for a limited number of users. Maybe the result don't worth the effort.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]