Process Memory in InterSystems Products

Manage InterSystems process memory allocation using $ZSTORAGE and $STORAGE.

Updated Feb 2, 2026
One-click install
npx skills add https://github.com/sorodriguezz/skills-objectscript --skill process-memory-in-intersystems-products
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Process Memory in InterSystems Products
Source: https://github.com/sorodriguezz/skills-objectscript/tree/main/skills/process-memory-in-intersystems-products
Command: npx skills add https://github.com/sorodriguezz/skills-objectscript --skill process-memory-in-intersystems-products

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps understand and manage how InterSystems products utilize process memory, preventing performance issues and errors related to memory allocation.

Core Features & Use Cases

  • Memory Allocation: Explains how InterSystems IRIS allocates memory for variables, objects, and I/O buffers.
  • System Variables: Details the usage and management of $ZSTORAGE and $STORAGE for controlling and monitoring memory.
  • Error Handling: Describes how to handle <STORE> errors that occur when memory limits are reached.
  • Use Case: Troubleshoot and resolve a <STORE> error by understanding the process memory limits and how to adjust $ZSTORAGE.

Quick Start

Explain how to set the maximum per-process memory limit in the InterSystems Management Portal.

Frequently Asked Questions about Process Memory in InterSystems Products

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix a <STORE> error in InterSystems IRIS?

A <STORE> error in InterSystems IRIS occurs when process memory limits are reached. Resolve it by understanding process memory allocation and adjusting the $ZSTORAGE system variable to increase the maximum per-process memory limit.

How does process memory allocation work in InterSystems products?

Process memory allocation in InterSystems products distributes memory for variables, object instances, and I/O buffers. System variables like $ZSTORAGE and $STORAGE are used to control and monitor these memory limits across different platform behaviors.

How do I set the maximum per-process memory limit in the InterSystems Management Portal?

Set the maximum per-process memory limit in the InterSystems Management Portal by configuring the $ZSTORAGE system variable. This proactively manages resource allocation to prevent memory exhaustion and <STORE> errors.

What is the difference between $ZSTORAGE and $STORAGE in ObjectScript?

$ZSTORAGE and $STORAGE are system variables in ObjectScript used for memory control and monitoring. $ZSTORAGE typically manages the maximum per-process memory limit, while $STORAGE tracks the currently available memory for the process.

When should I adjust process memory limits to prevent memory exhaustion in InterSystems IRIS?

Adjust process memory limits proactively in InterSystems IRIS when applications handle large variables, numerous object instances, or heavy I/O buffers. Proactive resource management prevents platform-specific memory exhaustion and unexpected <STORE> errors.