qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Memory: how to determine the max memory size of one VM?


From: Zhi Yong Wu
Subject: [Qemu-devel] Memory: how to determine the max memory size of one VM?
Date: Fri, 10 Feb 2012 17:47:32 +0800

HI,

Today i tried to create one VM with the option "-m 4000", and found it
failed with the following errors:

Failed to allocate 4194304000 B: Cannot allocate memory
Aborted (core dumped)

I checked the qemu code, and found that in qemu_memalign() function,
posix_memalign() failed to allocate requested memory. Perhaps due to
No enough memory.

But when i tried with "-m 3000", it can work.

So i have one question about this. How to determine the supported max
memory size of one VM on one specifc host?

Can anyone elaborate it for me? thanks.



-- 
Regards,

Zhi Yong Wu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]