xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* How to increase the Xen heap
@ 2010-08-11  6:25 alex
  2010-08-11  6:33 ` alex
  0 siblings, 1 reply; 3+ messages in thread
From: alex @ 2010-08-11  6:25 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 562 bytes --]

Hi all,

I wrote some code in Xen hypervisor. It allocates an array to track the
runtime statistics. When I use _xmalloc to allocate the array from xen heap,
it fails with "No enough memory". I check the Xen heap via "xm dmesg", it
shows 9MB, while the size of the array is around 14MB. I try to reduce the
array size, it succeed without any problem and works correctly. My question
is how to increase the Xen heap because I will put other fields into array
data structure. Or can I allocate from dom heap? If that, are there some
sample code?

Thank you.

Alex

[-- Attachment #1.2: Type: text/html, Size: 672 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

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

end of thread, other threads:[~2010-08-11  6:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-11  6:25 How to increase the Xen heap alex
2010-08-11  6:33 ` alex
2010-08-11  6:47   ` Keir Fraser

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).