This section controls the virtual machine memory environment. The following list describes these options:
allocator
Virtual machine memory allocator.
Syntax
|
Description
The allocator
option is used to indicate to the virtual machine which memory allocation method the host system will use to allocate the virtual memory environment. The memory-allocator value can be set according to the able below:
Allocator | Description |
---|---|
hugetbl | All virtual machine RAM is allocate from hugetlbfs. |
malloc | All virtual machine RAM is allocated from system heap. |
mmap | All virtual machine RAM is allocated from file-backed virtual memory via mmap. |
size
Virtual machine memory size.
Syntax
|
Description
This option specifies the amount of host memory that the virtual machine should make available to the guest. It is specified in megabytes (MB). The table below describes the allocation rules for each virtual machine model.
Virtual Machine Model | Memory Allocation Rules |
---|---|
Sun SPARCstion 20 | 64MB, 128MB, 256MB and 512MB. |
Sun Enterprise 450 | 1 - 32 GB in 1 GB increments. |