# vm.get_vm_memory_info

Returns memory information for `vm_id` VM if it is going to be started.

All memory attributes are expressed in bytes.

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: id

#### id

Type: integer

ID of the virtual machine to get memory information for.

##

#### VMGetVmMemoryInfoResult

Type: object

VMGetVmMemoryInfoResult return fields.

No Additional Properties

##

#### Minimum Memory Requested

Minimum memory requested by the VM

## Any of

Type: integer
Type: null

##

#### Total Memory Requested

Type: integer

Maximum / total memory requested by the VM

##

#### Overcommit Required

Type: boolean

Overcommit of memory is required to start VM

##

#### Memory Req Fulfilled After Overcommit

Type: boolean

Memory requirements of VM are fulfilled if over-committing memory is specified

##

#### Arc To Shrink

Size of ARC to shrink in bytes

## Any of

Type: integer
Type: null

##

#### Current Arc Max

Type: integer

Current size of max ARC in bytes

##

#### Arc Min

Type: integer

Minimum size of ARC in bytes

##

#### Arc Max After Shrink

Type: integer

Size of max ARC in bytes after shrinking

##

#### Actual Vm Requested Memory

Type: integer

VM memory in bytes to consider when making calculations for available/required memory. If VM ballooning is specified for the VM, the minimum VM memory specified by user will be taken into account otherwise total VM memory requested will be taken into account.

Required roles: VM_READ