docs.intersystems.com
Home  /  Application Development: Additional Options  /  InterSystems Programming Tools Index  /  Tools Index  /  Memory


InterSystems Programming Tools Index
Memory
[Back]  [Next] 
InterSystems: The power behind what matters   
Search:  


Modify the memory settings programmatically.
Background Information
You typically modify memory settings via the Management Portal. See Configuring System Information in “Configuring InterSystems IRIS” in the System Administration Guide. Also see Advanced Memory Settings in the 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 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 instead of ##class(%SYSTEM.class).method(), you can use $SYSTEM.class.method().