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.

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.


Best regards,
Antonio.

_______________________________________________
Lzip-bug mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lzip-bug

Reply via email to