-Djdk.xml.totalEntitySizeLimit

This option provides limits for Java™ API for XML processing (JAXP). Use this option to limit the total size of all entities, including general and parameter entities.

-Djdk.xml.totalEntitySizeLimit=value

Where value is the collective size of all entities. The default value is 5x10^7 (50 000 000).

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

You can also set this limit by adding the following line to your jaxp.properties file:
jdk.xml.totalEntitySizeLimit=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.