Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Previous sectionNext section


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

Includes the following methods:

  • ModifyZFSize()

  • ModifyZFString()

  • Modifybbsiz()

  • Modifynetjob()

Availability: All namespaces.

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:

  • FreeCount()

  • GetUsageSummary()

  • RecommendedSize()

  • And others

It also provides a couple of class queries.

Availability: All namespaces.


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().