Oracle Error OCI-31182: Too many PL/SQL DOM handles specified

Oracle Error Message

OCI-31182: Too many PL/SQL DOM handles specified

Reason for the Error

An attempt was made to create a PL/SQL DOM handle that exceeded the maximum allowable number of PL/SQL DOM handles.

Solution

Free PL/SQL DOM handles and try the operation again.