Export (0) Print
Expand All
Expand Minimize

RecycleCallLimit Property

Published: June 20, 2005

RecycleCallLimit Property

Gets and sets the maximum number of calls that the application domain answers before it is recycled.

obj.RecycleCallLimit = integer

Part

Description

obj

An instance of the TAS class.

integer

An unsigned integer that specifies the maximum number of calls that the application domain hosting the SALT interpreters answers before it is recycled.

Qualifiers

Qualifier

Value

Description

Registry

True

If True, this property value is read from the Registry.

Restart

False

If False, changes to this property take effect without requiring the service to restart.

DefaultValue

10,000

Default value for this property.

MinValue

500

Minimum value for this property.

Remarks

The application domain exists within a process, therefore whenever a process recycle occurs, the application domain is also recycled.

For applications containing dynamic script that must be recompiled on page load, memory usage may increase over time and degrade performance. In this case, an application domain or process recycle will reclaim some of this memory, therefore performance may be improved by lowering the RecycleCallLimit property.

The appropriate value for this property depends on how much dynamic script is used by the application, and the anticipated call volume in the fully deployed server environment.

Note  It can be useful to examine the Script Compilations performance counter for TAS as an indication of dynamic script content in the application. In general, script compilation should occur only the first time a page is loaded, or during an application domain or process recycle. High Script Compilation counters may indicate that dynamic page content is having an adverse effect on performance.

This property is exposed in the Microsoft Speech Server (MSS) snap-in for Microsoft Management Console (MMC).

Windows Management Instrumentation (WMI) Script Example

myComputer = "localhost"

' Use a Locator object to connect to WMI.
Set locator = CreateObject("WbemScripting.SWbemLocator")
Set namespace = locator.ConnectServer(myComputer, "root/MSS")

' Get the TAS instance.
Set tel = namespace.Get("TAS=@")

' Display the current value.
WScript.Echo tel.RecycleCallLimit

' Set the property value.
tel.RecycleCallLimit = 2500

' Update the class instance in WMI.
tel.Put_

Member Of

TAS class

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft