From: Keir Fraser <keir.fraser@eu.citrix.com>
To: alex <leiye.xen@gmail.com>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: How to increase the Xen heap
Date: Wed, 11 Aug 2010 07:47:35 +0100 [thread overview]
Message-ID: <C8880617.1D63A%keir.fraser@eu.citrix.com> (raw)
In-Reply-To: <AANLkTimKNjjDnkuZRoug6LyYXMZ+PEkD2TKgrP=H8Y5r@mail.gmail.com>
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" <leiye.xen@gmail.com> wrote:
> 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@gmail.com> 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
>
>
prev parent reply other threads:[~2010-08-11 6:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C8880617.1D63A%keir.fraser@eu.citrix.com \
--to=keir.fraser@eu.citrix.com \
--cc=leiye.xen@gmail.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).