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

(Doc ID 1267196.1)

Last updated on NOVEMBER 28, 2016

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.


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