RuntimeManagerMaxExecutionMemory Property |
Namespace: OpenTestSystem.Otx.Runtime.Api
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 |
---|
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. |