LowerMemoryThreshold Property

LowerMemoryThreshold Property

Gets and sets a value for virtual memory usage (in megabytes), above which Speech Engine Services (SES) will not create new engine instances.

obj.LowerMemoryThreshold = integer

Part

Description

obj

An instance of the SES class.

integer

An unsigned integer that specifies the amount of virtual memory usage above which SES will stop creating engine instances.

Qualifiers

Qualifier

Value

Description

Registry

True

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

Restart

True

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

DefaultValue

1200

Default value for this property.

MinValue

1

Minimum value for this property.

MaxValue

3072

Maximum value for this property.

Remarks

This property is not exposed in the Microsoft Speech Server (MSS) snap-in for Microsoft Management Console (MMC). Values that do not appear in the MMC are generally more advanced configuration options, changeable only through VBScript. Changes to these settings should be tested in a safe environment before implementing them on live production servers. Changing these settings can cause extensive changes to the entire system.

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 SES instance.
Set ss = namespace.Get("SES=@")

' Display the current value.
WScript.Echo ss.LowerMemoryThreshold

' Set the property value.
ss.LowerMemoryThreshold = 1200

' Update the class instance in WMI.
ss.Put_

Member Of

SES class