WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] cannot allocate memory

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] cannot allocate memory
From: "Ulrich Windl" <ulrich.windl@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 22 Jan 2007 08:45:12 +0100
Delivery-date: Sun, 21 Jan 2007 23:45:46 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1169249854.4285.18.camel@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Universitaet Regensburg, Klinikum
Priority: normal
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 20 Jan 2007 at 0:37, Mihamina Rakotomandimby (R12y) wrote:

> Hi,
> I have Xen 3.0.3 on an opensuse 10.2.
> This is the status of my memory:
> 
> mihamina@asus:~> free 
>        total      used      free     shared    buffers     cached
> Mem:   1777664    1769308   8356          0      16288     673308
> Swap:  6626728    60        6626668
> 
> 
> Whne I create a ("256M RAM", "1 vcpu") domU:
> [...]
> Error: (12, 'Cannot allocate memory')
> [...]
> 
> Well. The message is quite clear. But my swap is still free (6GB man!).

As asked earlier by myself (and answered on this list), XNE memory allocations 
strictly use physical RAM, no virtual RAM (like swapped memory). So you need to 
have that RAM available in Dom0. Maybe review the memory parameter settings.

> I guess the Xen utility is not able to swap things. What is the common
> way to free some RAM? is there a kind of 'swapwhatever <PID>' magic tool
> you would recommend? I wont reboot my box in order to free memory!

Maybe kill your X server in Dom0 ("init 3").

Regards,
Ulrich


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

<Prev in Thread] Current Thread [Next in Thread>