My Oracle Support Banner

Error ORA-04031 in the Shared Pool with Huge Allocation in Memory Type "ges resource dynamic" or "ges enqueues" memory" (Doc ID 2631592.1)

Last updated on APRIL 17, 2023

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.



Received error ORA-04031 in "shared pool" with memory type "ges resource dynamic". For example,

ORA-04031: unable to allocate 14328 bytes of shared memory ("shared pool","unknown object","sga heap(1,0)","ges resource dynamic")

Top pool memory allocations in shared pool shows as "ges resource dynamic" or "ges enqueues" memory"

select name, round((bytes/1024/1024),0) MB
from v$sgastat where pool='shared pool'
and bytes > 10000000
order by bytes desc


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.