LoadMemoryLimit Property

LoadMemoryLimit Property

Gets and sets the number of megabytes of computer memory that is allocated to Telephony Application Services (TAS).

obj.LoadMemoryLimit = integer

Part

Description

obj

An instance of the TAS class.

integer

An unsigned integer specifying the number of megabytes of the computer's physical memory that are allocated to TAS.

Qualifiers

Qualifier

Value

Description

Registry

False

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

500

Default value for this property.

MinValue

0

Minimum value for this property.

MaxValue

4000

Maximum value for this property.

Remarks

This property is exposed in the Microsoft Speech Server Management Console snap-in.

When the memory use exceeds this threshold, SALT interpreter creation is throttled, and unused interpreters are retired until memory use returns to acceptable working boundaries.

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.LoadMemoryLimit

' Set the property value.
tel.LoadMemoryLimit = 1000

' Update the class instance in WMI.
tel.Put_

Member Of

TAS class