From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com ([192.55.52.93]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1SqnhS-0006st-G9 for openembedded-core@lists.openembedded.org; Mon, 16 Jul 2012 17:59:06 +0200 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 16 Jul 2012 08:47:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.71,315,1320652800"; d="scan'208";a="193443349" Received: from unknown (HELO swold-mobl.bigsur.com) ([10.255.12.178]) by fmsmga002.fm.intel.com with ESMTP; 16 Jul 2012 08:47:41 -0700 From: Saul Wold To: openembedded-core@lists.openembedded.org Date: Mon, 16 Jul 2012 08:47:25 -0700 Message-Id: X-Mailer: git-send-email 1.7.7.6 In-Reply-To: References: In-Reply-To: References: Subject: [CONSOLIDATED PULL 19/30] image_types.bbclass: Default XZ_COMPRESSION_LEVEL to -e -6 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2012 15:59:07 -0000 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 files changed, 1 insertions(+), 1 deletions(-) diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index b19ad3b..727d8d6 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" -- 1.7.7.6