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 22.214.171.124.0 and later
Information in this document applies to any platform.
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.
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