<memory>

Specifies the amount of memory allocated for a virtual server at boot time and configures the collection of QEMU core dumps.

Text content

Natural number specifying the amount of memory. The unit is specified with the unit attribute.

Selected attributes

dumpCore=on | off
Specifies whether the memory of a virtual server is included in a generated core dump.
on
Specifies that the virtual server memory is included.
off
Specifies that the virtual server memory is excluded.
unit=b | KB | k | KiB | MB | M | MiB | GB | G | GiB | TB | T | TiB
Specifies the units of memory used:
b
bytes
KB
kilobytes (1,000 bytes)
k or KiB
kibibytes (1024 bytes), the default
MB
megabytes (1,000,000 bytes)
M or MiB
mebibytes (1,048,576 bytes)
GB
gigabytes (1,000,000,000 bytes)
G or GiB
gibibytes (1,073,741,824 bytes)
TB
terabytes (1,000,000,000,000 bytes)
T or TiB
tebibytes (1,099,511,627,776 bytes

Usage

Parent elements

<domain>

Child elements

None.

Example

This example:
  • Configures 524,288 KB of virtual memory.
  • Excludes the virtual memory from QEMU core dumps.
<memory dumpCore="off" unit="KB">524288</memory>