From patchwork Tue Aug 7 07:44:48 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [for-denzil, 8/8] image_types.bbclass: Default XZ_COMPRESSION_LEVEL to -e -6 Date: Tue, 07 Aug 2012 07:44:48 -0000 From: Koen Kooi X-Patchwork-Id: 34017 Message-Id: <1344325488-20479-8-git-send-email-koen@dominion.thruhere.net> To: openembedded-core@lists.openembedded.org Cc: Koen Kooi From: Andrei Gherzan 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 --- meta/classes/image_types.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index 258be63..8869a5e 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass @@ -116,7 +116,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"