Skip to contentSkip to conversation

runqemu: set memory size to 256M for most qemu machines

PATCH New Paul Eggleton 1 participant 1 message Sep 2, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 runqemu: set memory size to 256M for most qemu machines

Set memory size to 256M for qemuarm, qemux86, qemux86-64, qemumips, qemumips64, and qemuppc.

This allows the smart automated tests to run on machines with a GUI environment (such as Sato) running at the same time, for which 128M is too limiting. Setting this in runqemu allows users manually using runqemu to avoid the same out-of-memory issues under similar conditions using smart, on-target compilation or other uses.

Fixes [YOCTO #5045].

---
 scripts/runqemu-internal | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
scripts/runqemu-internal +5 -5
index f9d8728..485119f 100755
@@ -42,22 +42,22 @@ if [ ! -z "$mem_set" ] ; then
 else
     case "$MACHINE" in
         "qemux86")
-            mem_size=128
+            mem_size=256
             ;;
         "qemux86-64")
-            mem_size=128
+            mem_size=256
             ;;
         "qemuarm")
-            mem_size=128
+            mem_size=256
             ;;
         "qemumicroblaze")
             mem_size=64
             ;;
         "qemumips"|"qemumips64")
-            mem_size=128
+            mem_size=256
             ;;
         "qemuppc")
-            mem_size=128
+            mem_size=256
             ;;
         "qemush4")
             mem_size=1024
Signature · 1 line
1.8.1.2