InterSystems Programming Tools Index
Memory
[Back] [Next]
   
Server:docs2
Instance:LATEST
User:UnknownUser
 
-
Go to:
Search:    

Modify the memory settings programmatically.
Background Information
You typically modify memory settings via the Management Portal. See Configuring System Information in “Configuring Caché” in the Caché System Administration Guide. Also see Advanced Memory Settings in the Caché Additional Configuration Settings Reference.
Available Tools
%SYSTEM.Config class
Includes the following methods:
Availability: All namespaces.
%SYSTEM.Config.SharedMemoryHeap class
Provides an interface to return the amount of shared memory heap, more commonly called generic memory heap (gmheap), used by the system. It also provides an API to get available shared memory heap and recommended shared memory heap parameters for configuration. It provides methods like the following:
It also provides a couple of class queries.
Availability: All namespaces.
Reminder
The special variable $SYSTEM is bound to the %SYSTEM package. This means that (for ObjectScript) instead of ##class(%SYSTEM.class).method(), you can use $SYSTEM.class.method().