summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-09-01 14:45:45 +0200
committerLudovic Courtès <ludo@gnu.org>2022-09-01 18:31:26 +0200
commit98a8b48a69b8208475c9a1e40d09517f8643b8cb (patch)
tree96233db78a257fb26e28cb96b659b2bed459f858 /doc
parentfe149b01d0b65f421602f8bc794a926434f5d9a9 (diff)
downloadguix-98a8b48a69b8208475c9a1e40d09517f8643b8cb.tar.gz
doc: Suggest more RAM for "Running Guix in a VM".
Fixes <https://issues.guix.gnu.org/57474>.
Reported by Michael F. Lamb <mike@orbital.rodeo>.

Running 'guix pull' to target current revisions would lead to memory
exhaustion.  Bumping the memory size works around that.

* doc/guix.texi (Running Guix in a VM): Change "-m 1024" to "-m 2048".
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 2473170b6b..246403bcba 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -38494,7 +38494,7 @@ image -t qcow2} on x86_64 hardware:
 @example
 $ qemu-system-x86_64 \
    -nic user,model=virtio-net-pci \
-   -enable-kvm -m 1024 \
+   -enable-kvm -m 2048 \
    -device virtio-blk,drive=myhd \
    -drive if=none,file=/tmp/qemu-image,id=myhd
 @end example
@@ -38521,7 +38521,7 @@ virtual machine support (KVM) of the Linux kernel will make things run
 faster.
 
 @c To run Xfce + 'guix pull', we need at least 1G of RAM.
-@item -m 1024
+@item -m 2048
 RAM available to the guest OS, in mebibytes.  Defaults to 128@tie{}MiB,
 which may be insufficient for some operations.