Click or drag to resize

RuntimeManagerMaxExecutionMemory Property

Gets or sets Maximal number of megabytes used by a runner process. The default value is 200

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 long MaxExecutionMemory { get; set; }

Property Value

Type: Int64

Implements

IRuntimeManagerMaxExecutionMemory
Remarks

The property describes the maximal memory in megabytes [MB] which should be used by a runner process. After the execution of a runner process is finished and before the Procedure.Execute method returns, the process manager checks the private bytes used by the runner process. If this number is more than the number specified in MaxExecutionMemory the runner process will be terminated and a new runner process will be started. This avoids memory conflicts and increase the long term stability.

MaxExecutionMemory limits the maximum memory used by a runner processes.

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
Please note that the real used memory can be increase the number in MaxExecutionMemory! The value is only a limit which enforces the process manager to clean up the runner process.
See Also