]> code.ossystems Code Review - openembedded-core.git/commitdiff
core-image-sato-sdk: allocate more memory when in qemu
authorRoss Burton <ross@burtonini.com>
Mon, 31 Jan 2022 13:54:06 +0000 (13:54 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Feb 2022 07:29:44 +0000 (07:29 +0000)
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 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-sato/images/core-image-sato-sdk.bb

index b52de0def02a99c2e0408211a8b2080ef3ed4161..afab473b52ce3821d906f0704fc461c485efe2fa 100644 (file)
@@ -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"