Configuration Parameter File Reference
Size and configuration of the $ZF heap.
Two comma-separated values configure the $ZF heap. From left to right:
zfstrsz is the number of characters InterSystems IRIS allows for a single string parameter on the $ZF heap. How many bytes this actually requires depends on whether you are using Unicode (2-byte characters) or 4-byte characters on UNIX®. The range is 0–32767. A value of 0 tells InterSystems IRIS to determine an appropriate value for zfstrsz automatically. The default is 32767 characters.
zfheapsz is the number of bytes InterSystems IRIS allocates for the $ZF heap for all purposes. The $ZF heap consists of the total number of bytes allocated in virtual memory for all $ZF input and output parameters, including the space for strings allowed by the first value. The range is 0–270336 bytes. The default is 0. A value of 0 tells InterSystems IRIS to calculate an appropriate value for zfheapsz automatically, based on the value of zfstrsz.
The formula for calculating zfheapsz based on zfstrsz is as follows:
zfheapsz = (BytesPerCharacter * zfstrsz) + 2050
For example, if zfstrsz has the default value, 32767:
If you are using Unicode, a single character is 2 bytes. The value for zfheapsz is then 67584 (or 2 * 32767 + 2050) bytes.
On UNIX®, a single character is 4 bytes. The value for zfheapsz is then 133118 (or 4 * 32767 + 2050) bytes.
Intersystems recommends that this parameter be set to 0,0.
Range of Values
As described above.
On the page System Administration > Configuration > Additional Settings > Advanced Memory:
, in the ZFString
row, select Edit
. Enter a number of characters.
, in the ZFSize
row, select Edit
. Enter a number of bytes.
Content Date/Time: 2019-08-23 06:48:00