Oracle Error ORA-31186: Document contains too many nodes

Oracle Error Message

ORA-31186: Document contains too many nodes

Reason for the Error

Unable to load the document because it has exceeded the maximum allocated number of DOM nodes.

Solution

Reduces the size of the document.