qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Memory: how to determine the max memory size of one VM?
@ 2012-02-10  9:47 Zhi Yong Wu
  2012-02-10 10:35 ` Stefan Hajnoczi
  0 siblings, 1 reply; 15+ messages in thread
From: Zhi Yong Wu @ 2012-02-10  9:47 UTC (permalink / raw)
  To: QEMU Developers

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

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2012-02-11  0:46 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-10  9:47 [Qemu-devel] Memory: how to determine the max memory size of one VM? Zhi Yong Wu
2012-02-10 10:35 ` Stefan Hajnoczi
2012-02-10 10:36   ` Stefan Hajnoczi
2012-02-10 16:40     ` Andreas Färber
2012-02-10 23:25       ` Paul Brook
2012-02-11  0:24         ` Andreas Färber
2012-02-11  0:46           ` Paul Brook
2012-02-10 11:00   ` Zhi Yong Wu
2012-02-10 11:10     ` Stefan Hajnoczi
2012-02-10 11:23       ` Zhi Yong Wu
2012-02-10 11:31         ` Stefan Hajnoczi
2012-02-10 11:53           ` Zhi Yong Wu
2012-02-10 14:08             ` Stefan Hajnoczi
2012-02-10 14:36               ` Zhi Yong Wu
2012-02-10 16:20         ` Andreas Färber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).