My Oracle Support Banner

ORA-4031 ("shared pool", ... ,"kgsp-heap", ...) (Doc ID 1267196.1)

Last updated on FEBRUARY 03, 2019

Applies to:

Oracle Server - Enterprise Edition - Version: to - Release: 11.1 to 11.1
Information in this document applies to any platform.


- In, or , your Alert log shows the following type of error messages:

ORA-04031: unable to allocate ... bytes of shared memory ("shared pool", ... ,"kgsp-heap", ...).

- All tracefiles are pinpointing the ORA-4031 to be raised against "kgs-heap".

- There are more than 4 processor cores and "kgs-heap" is using more than 5% of the shared pool.

- At least 2 or more subpools.


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.