Export (0) Print
Expand All
Expand Minimize

UpperMemoryThreshold Property

Published: June 20, 2005

UpperMemoryThreshold Property

Gets and sets a value for virtual memory usage (in megabytes), above which Speech Engine Services (SES) logs an error, rejects requests for new sessions, and begins failover handling for the worker process.

obj.UpperMemoryThreshold = integer

Part

Description

obj

An instance of the SES class.

integer

An unsigned integer that specifies the maximum value for virtual memory usage (in megabytes) before SES logs an error, rejects new session requests, and begins failover processing.

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

1600

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

' Set the property value.
ss.UpperMemoryThreshold = 1600

' Update the class instance in WMI.
ss.Put_

Member Of

SES class

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