B2B Integration 10.5 | Administering and Monitoring B2B Transactions | Service Development Help | Performing Data Validation | Preventing Running Out of Memory Error During Validation
 
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. In the Settings menu of the navigation area, click Extended.
3. Click Edit Extended Settings. The server displays the Extended Settings screen.
4. 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.
5. Click Save Changes.

Copyright © 2016- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.