From: Andrei Gherzan Date: Thu, 12 Jul 2012 18:05:56 +0000 (+0300) Subject: image_types.bbclass: Default XZ_COMPRESSION_LEVEL to -e -6 X-Git-Tag: 2015-4~10012 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=cfd201ecda95d00bc5d70aa5045c649b98ffe8b8;p=openembedded-core.git image_types.bbclass: Default XZ_COMPRESSION_LEVEL to -e -6 Having XZ_COMPRESSION_LEVEL on -e -9 and -T 0 will make xz eat more than 6Gb memory. Reduce this to -6 to make xz to use about 471Mb on the tested machine. Signed-off-by: Koen Kooi Signed-off-by: Andrei Gherzan Signed-off-by: Saul Wold --- diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index b19ad3beee..727d8d6f8f 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass @@ -122,7 +122,7 @@ def imagetypes_getdepends(d): return depstr -XZ_COMPRESSION_LEVEL ?= "-e -9" +XZ_COMPRESSION_LEVEL ?= "-e -6" XZ_INTEGRITY_CHECK ?= "crc32" XZ_THREADS ?= "-T 0"