IServerAgentConnection.SetClusterRecyclingByMemory

Syntax:

SetClusterRecyclingByMemory(<Cluster>, <MemorySize>, <Duration>)

Parameters:

<Cluster> (required)

Type: IClusterInfo.
Cluster for which it is necessary to change settings of working processes auto restart. Should be obtained by the GetClusters method.

<MemorySize> (required)

Type: Number.
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)

Type: Number.
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:

Specifies automatic restart of working processes depending on memory size.
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:

Integration.

    

1C:Enterprise Developer's Community