ORA-04031 Errors Occurring (Doc ID 2063751.1) SYMPTOMS ORA-04031 Errors Occurring ORA-04031 errors occurring in a RAC instance with the trace file showing high memory usage for "ges resource dynamic" and "ges enqueues" memory in the shared pool. This can cause LMD processes to become unresponsive leading to an instance termination. The following query can be used to determine if this fix will help: select substr(RESOURCE_NAME,instr(RESOURCE_NAME,'[',1,3)+1,2) , MASTER_NODE, count(*) from gv$ges_resource where substr(RESOURCE_NAME,instr(RESOURCE_NAME,'[',1,3)+1,2) in ('DX', 'BB') group by substr(RESOURCE_NAME,instr(RESOURCE_NAME,'[',1,3)+1,2), MASTER_NODE order by 3 desc; If that shows a large number of entries (much larger than the expected total number of transactions), then this fix will help. CAUSE for ORA-04031 This is due to unpublished bug:21373473 fixed in 12.2, and occurs due to DX and BB locks being cached b...