xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: alex <leiye.xen@gmail.com>
To: xen-devel@lists.xensource.com
Subject: Re: How to increase the Xen heap
Date: Tue, 10 Aug 2010 23:33:46 -0700	[thread overview]
Message-ID: <AANLkTimKNjjDnkuZRoug6LyYXMZ+PEkD2TKgrP=H8Y5r@mail.gmail.com> (raw)
In-Reply-To: <AANLkTikiKCj90UYxK7yMPSeigNRxjKmcvPob5giqccDG@mail.gmail.com>


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

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
>

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

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

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

  reply	other threads:[~2010-08-11  6:33 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 [this message]
2010-08-11  6:47   ` Keir Fraser

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='AANLkTimKNjjDnkuZRoug6LyYXMZ+PEkD2TKgrP=H8Y5r@mail.gmail.com' \
    --to=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).