[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] How to increase the Xen heap
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
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |