Database Startup Fails With ORA-04031 Even If MEMORY_TARGET Is Set To Values Of GB (Doc ID 831770.1)

Last updated on APRIL 23, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.6 to 11.1.0.7 [Release 11.1]
Information in this document applies to any platform.
This problem can occur on any platform.


Symptoms

Startup of database fails with:
ORA-04031: unable to allocate 56 bytes of shared memory ("shared pool","unknown object","sga heap(<x>,1)","fixed allocation callback")
error.
where <x> is the subpool number.

- Memory_target is used and set to a high value (8GB for example).
- The shared pool is divided in subpools due to high number of CPUs.
- ORA-4031 trace file  shows several subpools with no memory allocated.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms