Allows to choose the Parallels Service memory allocation mode from automatic or manual.
PRL_RESULT PrlDispCfg_SetAdjustMemAuto( PRL_HANDLE hDispConfig, PRL_BOOL bAdjustMemAuto );
PrlApiDisp.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.
By default, the amount of memory allocated for Parallels Service operations is calculated automatically based on the total RAM available on the host. You can allocate a different amount of memory if needed using the PrlDispCfg_SetReservedMemLimit function. Before you do that, you must switch memory allocation to manual using this function. The current memory allocation method can be determined using the PrlDispCfg_IsAdjustMemAuto function. The amount of currently allocated memory can be retrieved using the PrlDispCfg_GetReservedMemLimit function.