The appliance memory size of 500 MB is insufficient in certain scenarios. In
partiuclar, semodule (which may be called by a guest tools uninstaller) often
triggers OOM (see
https://bugzilla.redhat.com/426775)
Increase it to 768 MB.
Signed-off-by: Pavel Butsykin <pbutsykin(a)virtuozzo.com>
---
src/guestfs-internal.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/guestfs-internal.h b/src/guestfs-internal.h
index 03f1034..1d1b996 100644
--- a/src/guestfs-internal.h
+++ b/src/guestfs-internal.h
@@ -93,7 +93,7 @@
/* The default and minimum memory size for most users. */
#ifndef DEFAULT_MEMSIZE
-# define DEFAULT_MEMSIZE 500
+# define DEFAULT_MEMSIZE 768
#endif
#ifndef MIN_MEMSIZE
# define MIN_MEMSIZE 128
--
2.8.3