From 351ee239c7c5693371b80233a318ca10e0cfeb35 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 31 Jan 2022 13:54:06 +0000 Subject: core-image-sato-sdk: allocate more memory when in qemu Compiling code is memory-intensive, especially kernel modules like the SystemTap probes, so give the VM 768MB of RAM. Using 1GB appears to cause PCI error, interestingly. Hopefully this solves the intermittent failures caused by OOMs during the SystemTap test. [ YOCTO #14673 ] (From OE-Core rev: 50ff1f018a670c963e1979dee76ebd696153b4c1) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-sato/images/core-image-sato-sdk.bb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta/recipes-sato/images') diff --git a/meta/recipes-sato/images/core-image-sato-sdk.bb b/meta/recipes-sato/images/core-image-sato-sdk.bb index b52de0def0..afab473b52 100644 --- a/meta/recipes-sato/images/core-image-sato-sdk.bb +++ b/meta/recipes-sato/images/core-image-sato-sdk.bb @@ -10,3 +10,6 @@ IMAGE_FEATURES += "dev-pkgs tools-sdk \ IMAGE_INSTALL += "kernel-devsrc" +# Compiling stuff, specifically SystemTap probes, can require lots of memory +# See https://bugzilla.yoctoproject.org/show_bug.cgi?id=14673 +QB_MEM = "-m 768" -- cgit v1.2.3-54-g00ecf