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

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

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

hDispConfig
A handle of type PHT_DISP_CONFIG .
nMemSize
The new minimum size (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 and other parameters. If needed, you can use this function to modify the default value of the minimum required 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 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!