stack-size

This command sets the maximum number of bytes that the stack can use to process a stylesheet or other compiled content.

Syntax

stack-size bytes

Parameters

bytes
Specifies the maximum available memory in bytes. Enter a value in the range 10240 - 104857600. The default value is 1048576.

Guidelines

The stack-size command sets the maximum number of bytes that the stack can use to process a stylesheet or other compiled content. This setting is used to block infinite recursion.

Examples

Set a maximum of 10 MB of memory for stylesheet compilation.
# stack-size 10485760
#