Click or drag to resize

RuntimeManagerMaxIdleExecutionCount Property

Gets or sets if the number of maximal existing free runner processes. The default value is 5.

Namespace:  OpenTestSystem.Otx.Runtime.Api
Assembly:  OpenTestSystem.Otx.Runtime.Api (in OpenTestSystem.Otx.Runtime.Api.dll) Version: 5.5.0.0 (6.1.0.31040)
Syntax
public uint MaxIdleExecutionCount { get; set; }

Property Value

Type: UInt32

Implements

IRuntimeManagerMaxIdleExecutionCount
Remarks

For the execution of a procedure a runner process is needed. Depending on different project settings or the parallel execution different runner processes have to be created. Due to performance issues a runner process will not be closed after finishing the procedure execution. It gets into the idle state.

MaxIdleExecutionCount limits the maximum number of existing runner processes in idle state.

A number of zero means that a runner process will be closed after each procedure execution and each procedure execution creates a new runner process. In this case no runtime performance optimization is available.

Important note Important
The value of MaxIdleExecutionCount has no influence at the number of runner processes which are in busy state.
Important note Important
If the value of MaxIdleExecutionCount is greater than zero and a PTX is loaded and started, changes inside the same PTX cannot be updated until the related runner process is closed. To force the cloasing of all runner processes, the property MaxIdleExecutionCount should be set to zero and the method StopRepeatedExecutionHandler method should be called.
See Also