[gimp/wip/Jehan/gitlab-ci-win-32-bit: 15/19] build: unset LZMADictionarySize high value.




commit e96feed3ac4aa287dbf5aee96beceb318b7c2c4b
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]