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




commit cde68e58ddb792d06f0f1fa27716872fec9e6d20
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 file was only 100kib bigger).
    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 5e83d1c6ec..2857920aef 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]