Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
In case you need to create multiple WF 3.5/3.0 WorkflowRuntime objects, you may find the memory usage of the workflow application keep rising (memory leak) although you have disposed the objects.
To completely release the resource of WorkflowRuntime, we need to call StopRuntime method before it is disposed. For example:
using (WorkflowRuntime workflowRuntime = new WorkflowRuntime())
{
…
workflowRuntime.StopRuntime();
}
Regards,
Xin Jin