RuntimeManagerMaxIdleExecutionCount Property |
Namespace: OpenTestSystem.Otx.Runtime.Api
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 |
---|
The value of MaxIdleExecutionCount has no influence at the number of runner processes which are in busy state. |
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. |