Skip to main content

Memory

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.

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

FeedbackOpens in a new tab