Configuring the amount of virtual memory

Configure the amount of memory that is available for the virtual server at startup time.

Procedure

Use the memory element which is a child of the domain element (see <memory>).
memory element: <memory-size>
memory unit attribute: <memory-unit>

Example

<domain type="kvm">
    <name>vserv1</name>
    <memory unit="MB">512</memory>
    ...
</domain>

The memory that is configured for the virtual server when it starts up is 512 MB.