Skip to main content

Memory (Tools/APIs)

Modify the memory settings programmatically.

Background Information

You typically modify memory settings via the Management Portal. See Configuring System Information and Advanced Memory Settings.

Available Tools

Includes the following methods:

  • ModifyZFSize()

  • ModifyZFString()

  • Modifybbsiz()

  • Modifynetjob()

Availability: All namespaces.

Provides an interface to return the amount of shared 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.

Note

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

FeedbackOpens in a new tab