Use Entity Expansion Limit (-entityExpansionLimit) to set an upper limit on how many entity substitutions the XML parser (DOM or SAX) will allow in a document.
Operating system and syntax
UNIX / Windows
-entityExpansionLimitn
Use with
Maximum value
Minimum value
Single-user default
Multi-user default
Client Session
2,147,483,647
0
50,000
50,000
n
The number of entity substitutions the XML parser will allow. Valid values are integers equal to or greater than 0. If the parameter is not specified, the default value is 50,000.
By limiting the number of entity substitutions, use of this parameter prevents recursive entities from consuming system resources.
This behavior can also be controlled on a case-by-case basis by the ENTITY-EXPANSION-LIMIT attribute of a particular SAX-reader or X-document object handle or the XML-ENTITY-EXPANSION-LIMIT of the WEB-OBJECT system handle. Setting the ENTITY-EXPANSION-LIMIT or XML-ENTITY-EXPANSION-LIMIT attribute overrides the behavior indicated by the startup parameter. See OpenEdge Development: ABL Reference for more information.