Previous page

Next page

Locate page in Contents

Print this page

Configuring Main Memory Parameters

The main memory resources for virtual machines include the following:

  • main memory
  • video memory

The process of managing these resources is described below.

Configuring Main Memory

To configure the amount of memory that will be available to the virtual machine, use the --memsize option of the prlctl set command. The following session shows how to change the amount of memory for the MyVM virtual machine from 512 MB to 756 MB and to check that the new value has been successfully set:

# prlctl list -i MyVM | grep memory

memory 512Mb

# prlctl set MyVM --memsize 756

Set the memsize parameter to 756Mb

The VM has been successfully configured.

# prlctl list -i MyVM | grep memory

memory 756Mb

You can configure the memory size for both running and stopped virtual machines.

Configuring Video Memory

To set the amount of video memory to be available to the virtual machine's video card, use the --videosize option of the prlctl set command. Assuming that the current video memory size of the MyVM virtual machine is set to 32 MB, you can increase it to 64 MB by running the following command:

# prlctl set MyVM --videosize 64

To check that the new value has been successfully set, use this command:

# prlctl list -i MyVM | grep video

video 64Mb