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

Re: [Xen-devel] How to increase the Xen heap


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: alex <leiye.xen@xxxxxxxxx>
  • Date: Tue, 10 Aug 2010 23:33:46 -0700
  • Delivery-date: Tue, 10 Aug 2010 23:34:30 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=IDp/fjuBw0eViY/2SwAbzftjihgU9E/gfqCEAilixkBY5kv1Kuh3AAgqMkHwCSPjDy Ds2AUvPUUfQhwPw3THk4vuhEJG8JcJ/hE1Uevx8QCo78uIT09u8ZfB+GLe2PMZ+3Q5n1 TNiSHSFMOR3qD0T50nakzoMc1svs7rd9hvcwQ=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

I am using 32-bit Xen and Xen heap is limited in size.

 
On Tue, Aug 10, 2010 at 11:25 PM, alex <leiye.xen@xxxxxxxxx> wrote:
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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.