Package: poppler-data
Version: 0.4.5-8
Severity: normal

poppler-data 0.4.5-8 uses xz compression with "-Sextreme -z9" settings.
I think it's overkill (-6e should be enough).
Xz memory use when building this package is now 674 MiB and 65 MiB
is required when decompressing during installation.

xz(1) manual page says:

The differences between the presets are more significant
than with gzip(1) and
bzip2(1). The selected compression settings determine the
memory requirements of
the decompressor, thus using a too high preset level might
make it painful to
decompress the file on an old system with little RAM. 
Specifically, it's not a
good idea to blindly use -9 for everything like it often
is with gzip(1) and bzip2(1).

Here is a table of memory use with different presets:
                     Preset   DictSize   CompCPU   CompMem   DecMem
                      -0e     256 KiB       8        4 MiB    1 MiB
                      -1e       1 MiB       8       13 MiB    2 MiB
                      -2e       2 MiB       8       25 MiB    3 MiB
                      -3e       4 MiB       7       48 MiB    5 MiB
                      -4e       4 MiB       8       48 MiB    5 MiB
                      -5e       8 MiB       7       94 MiB    9 MiB
                      -6e       8 MiB       8       94 MiB    9 MiB
                      -7e      16 MiB       8      186 MiB   17 MiB
                      -8e      32 MiB       8      370 MiB   33 MiB
                      -9e      64 MiB       8      674 MiB   65 MiB



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to