-Djdk.xml.entityExpansionLimit

This option provides limits for Java™ API for XML processing (JAXP). Use this option to limit the number of entity expansions in an XML document.

-Djdk.xml.entityExpansionLimit=value

where value is a positive integer. The default value is 64,000.

A value of 0 or a negative number sets no limit.

You can also set this limit by adding the following line to your jaxp.properties file:
jdk.xml.entityExpansionLimit=value
Note: The IBM XML implementation is deprecated in IBM® SDK, Java Technology Edition, Version 8 and will be replaced by the Oracle XML implementation in a future release.