Virtuozzo Virtualization SDK C API Reference
Allows to set the maximum memory size that can be allocated to an individual virtual machine.
By default, virtual machine memory limits are calculated automatically. If needed, you can set your own maximum memory limit using this function. Please note that the new value must not exceed the size of the memory reserved for Virtuozzo Service, which can be obtained using the PrlDispCfg_GetReservedMemLimit function. The actual memory size for a virtual machine is set when configuring it and will be validated against the value set here.