Preventing Running Out of Memory Error During Validation
During validation of an XML node, a large maxOccurs value for an element in the IS schema used as the blueprint can cause an out of memory error or a stack overflow. To prevent a stack overflow or out of memory error, you can set a threshold value for maxOccurs. When the validation engine encounters a maxOccurs value greater than the threshold value, it proceeds as if the maxOccurs value was equal to 'unbounded'.
To set a maxOccurs threshold value, you can edit the server configuration parameter watt.core.schema.maxOccursThresholdValue. By default, this parameter does not have a value.
To set a maxOccurs threshold value
1. Start Integration Server and open the Integration Server Administrator.
2. Go to, Settings > Extended > Extended settings.
3. In the text area under Extended Settings, type watt.core.schema.maxOccursThresholdValue=value where value is the number you want to use as the maxOccurs threshold.
4. Click Save Changes.
Related Topics