ProcessMemoryLimit Property
ProcessMemoryLimit Property
Gets and sets the upper limit for memory used by Telephony Application Services (TAS).
obj.ProcessMemoryLimit = integer
Part |
Description |
---|---|
obj |
An instance of the TAS class. |
integer |
An unsigned integer specifying the megabytes of memory that are allocated to TAS. |
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 |
1000 |
Default value for this property. |
MinValue |
0 |
Minimum value for this property. |
MaxValue |
4000 |
Maximum value for this property. |
Remarks
Under normal circumstances, this property should not require modification. If the value for this property is exceeded, (as reflected by the Page File Bytes counter of the TASWorker process) TAS initiates an Unscheduled Process Recycle.
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.ProcessMemoryLimit ' Set the property value. tel.ProcessMemoryLimit = 3000 ' Update the class instance in WMI. tel.Put_