Collapse All
Parallels C API Reference Guide
PrlDispCfg_SetMaxReservMemLimit Function
PrlApi.h PHT_DISP_CONFIG See Also

Allows to manually set the upper limit of the memory size that can be reserved for Parallels Service operation.

Syntax
PRL_RESULT PrlDispCfg_SetMaxReservMemLimit(
    PRL_HANDLE hDispConfig, 
    PRL_UINT32 nMemSize
);
File
Parameters

hDispConfig
A handle of type PHT_DISP_CONFIG .
nMemSize
The new maximum memory limit (in megabytes).
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle.

PRL_ERR_SUCCESS - function completed successfully.

Remarks

By default, memory limits are calculated automatically based on the host machine RAM size. If needed, you can use this function to modify the default value of the maximum reserved memory size. Please note that modifying default memory limits must be done with extreme caution. Unjustified memory limits may result in too much or too little memory reserved for Parallels Service, which in turn may lead to an unstable or inefficient system. While this and other functions allow you to experiment with Parallels Service memory limits, the default values are the ones that should be used in most situations.

See Also
Links
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!