IServerAgentConnection.SetClusterRecyclingByMemory
Syntax:
Parameters:
<Cluster> (required)
Cluster for which it is necessary to change settings of working processes auto restart. Should be obtained by the GetClusters method.
<MemorySize> (required)
Critical size of working process virtual memory in kilobytes.
0 - critical memory size is not specified, and working processes are not auto restarted.
<Duration> (required)
Maximum allowed duration (in seconds) of exceeding critical virtual memory size by a working process.
0 - time is not limited and working processes are not auto restarted.
Description:
If the virtual address space size occupied by the working process continuously exceeds the critical memory size for the specified duration, the working process wil be restarted automatically.
Availability: