My Oracle Support Banner

ORA-04031 Errors Due to Excessive KKSSP Memory Allocations (Doc ID 2815908.1)

Last updated on MAY 17, 2022

Applies to:

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

Symptoms

Shared memory shortages are observed due to excessive allocations of KKSSP memory, leading to ORA-4031 errors and instance outages.

KKSSP memory holds the session state for shared cursor code. It is used to store locks, and if this memory grows, then many locks must be in use or possibly being leaked. Note that it will be labeled as 'KKSSP^<nnnnn>, where the <nnnnn> after the caret symbol represents the SID of the session that is holding the memory.

Cause

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
Symptoms
Cause
Solution
References


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