[gimp] build: unset LZMADictionarySize high value.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] build: unset LZMADictionarySize high value.
- Date: Fri, 14 May 2021 17:29:17 +0000 (UTC)
commit 8cd05ceba7e759061e8b3c9a6d489cc186a7da2b
Author: Jehan <jehan girinstud io>
Date: Fri May 14 12:24:03 2021 +0200
build: unset LZMADictionarySize high value.
With compression level "ultra64" for LZMA, default value is 65536, which
is far enough (the installer file was only 100kib bigger, it doesn't
make that big of a difference in the end).
With the original value, the CI build would fail with "Out of memory"
error.
See also: https://jrsoftware.org/ishelp/index.php?topic=setup_lzmadictionarysize
build/windows/installer/gimp3264.iss | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/build/windows/installer/gimp3264.iss b/build/windows/installer/gimp3264.iss
index 1663f1daab..5be9005a44 100755
--- a/build/windows/installer/gimp3264.iss
+++ b/build/windows/installer/gimp3264.iss
@@ -157,7 +157,10 @@ InternalCompressLevel=ultra
SolidCompression=yes
LZMAUseSeparateProcess=yes
LZMANumFastBytes=273
-LZMADictionarySize=524288
+; Increasing dictionary size may improve compression ratio at the
+; expense of memory requirement. We run into "Out of memory" error in
+; the CI.
+;LZMADictionarySize=524288
;SignTool=Default
SignedUninstaller=yes
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]