ORA-18738
ResultSet exceeds maximum amount of memory allocated.
Cause
The data returned by the query exceeds the maximum amount of memory allowed.
Action
Ensure that the queried data is less than or equals the maximum amount of memory allowed. Increase the maximum amount of memory allowed.