From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: How to increase the Xen heap Date: Wed, 11 Aug 2010 07:47:35 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: alex , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org You cannot increase the size of 32-bit Xen heap. You need to run 64-bit Xen= . -- Keir On 11/08/2010 07:33, "alex" wrote: > I am using 32-bit Xen and Xen heap is limited in size. >=20 > =A0 > On Tue, Aug 10, 2010 at 11:25 PM, alex wrote: >> Hi all, >> =A0 >> 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 h= eap, >> it fails with "No enough memory". I check the Xen heap via "xm dmesg", i= t >> shows 9MB, while the size of the array is around 14MB. I try to reduce t= he >> array size, it succeed without any problem and works correctly. My quest= ion >> is how to increase the Xen heap because I will put other fields into arr= ay >> data structure. Or can I allocate from dom heap? If that, are there some >> sample code?=20 >> =A0 >> Thank you. >> =A0 >> Alex >=20 >=20