library: Increase the compression RAM usage limit on latest xz
-
With latest xz from bookworm, the following message was seen on the build machine: "xz: Reduced the number of threads from 4 to 1 to not exceed the memory usage limit of 1,986 MiB". This led to compression taking longer than an hour resulting in a timeout of the job. xz takes 25% of the RAM by default as the limit and will reduce the number of threads until reaches 1 to accommodate the memory requirement. See xz(1).
-
We could alternatively reduce the compression level to -6 instead of -9 but this results in 630 MiB output instead of 560 MiB. So, for now, let us not take this approach.
Signed-off-by: Sunil Mohan Adapa sunil@medhas.org